[FFmpeg-cvslog] h264: reset ret to avoid propagating minor failures

Michael Niedermayer git at videolan.org
Sat Oct 4 23:28:17 CEST 2014


ffmpeg | branch: release/2.4 | Michael Niedermayer <michaelni at gmx.at> | Sun Sep 28 00:46:50 2014 +0100| [ff24824a721576195c3b4a711e3ee2af900de795] | committer: Vittorio Giovara

h264: reset ret to avoid propagating minor failures

Unbreak 772d150a6e82542c06b0c251e73dd299d98d1027.

CC: libav-stable at libav.org
Bug-Id: 750 / 905753
Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff24824a721576195c3b4a711e3ee2af900de795
---

 libavcodec/h264.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 1fd5e50..562b102 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1679,6 +1679,7 @@ again:
             goto end;
     }
 
+    ret = 0;
 end:
     /* clean up */
     if (h->cur_pic_ptr && !h->droppable) {



More information about the ffmpeg-cvslog mailing list