]> git.sesse.net Git - ffmpeg/commitdiff
h264: reset ret to avoid propagating minor failures
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Sep 2014 23:46:50 +0000 (00:46 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 29 Sep 2014 11:33:55 +0000 (12:33 +0100)
Unbreak 772d150a6e82542c06b0c251e73dd299d98d1027.

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

index 1fd5e506cdeae4d2cf19e6174e3f60f9e00f53d8..562b1023e39ecb6136e3fb4dbdb759c9da40a9f6 100644 (file)
@@ -1679,6 +1679,7 @@ again:
             goto end;
     }
 
+    ret = 0;
 end:
     /* clean up */
     if (h->cur_pic_ptr && !h->droppable) {