You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Simplify: remove pointless {} and else
Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -171,11 +171,9 @@ 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;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user