Commit 2f118654 authored by reimar's avatar reimar

Simplify: remove pointless {} and else


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20129 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8c063ab7
...@@ -171,11 +171,9 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -171,11 +171,9 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->dts= pkt->pos / packet_size; pkt->dts= pkt->pos / packet_size;
pkt->stream_index = 0; pkt->stream_index = 0;
if (ret != packet_size) { if (ret != packet_size)
return AVERROR(EIO); return AVERROR(EIO);
} else {
return 0; return 0;
}
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment