forked from FFmpeg/FFmpeg
Simplify: remove pointless {} and else
Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d4c1803e0e
commit
8cb724c5c4
1 changed files with 2 additions and 4 deletions
|
@ -171,12 +171,10 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
pkt->dts= pkt->pos / packet_size;
|
||||
|
||||
pkt->stream_index = 0;
|
||||
if (ret != packet_size) {
|
||||
if (ret != packet_size)
|
||||
return AVERROR(EIO);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_INGENIENT_DEMUXER
|
||||
|
|
Loading…
Add table
Reference in a new issue