[FFmpeg-cvslog] avcodec/h264: do not leave ret random on minor failures, causing major failure
Michael Niedermayer
git at videolan.org
Tue Jun 24 02:05:00 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 24 01:54:39 2014 +0200| [47048aa30b5c35fc8b030e819b9769b6bca03c08] | committer: Michael Niedermayer
avcodec/h264: do not leave ret random on minor failures, causing major failure
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47048aa30b5c35fc8b030e819b9769b6bca03c08
---
libavcodec/h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 561fcb2..7718b51 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1751,6 +1751,7 @@ again:
goto end;
}
+ ret = 0;
end:
/* clean up */
if (h->cur_pic_ptr && !h->droppable) {
More information about the ffmpeg-cvslog
mailing list