提交 8cb724c5 编写于 作者: R Reimar Döffinger

Simplify: remove pointless {} and else

Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 d4c1803e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册