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:35:32 +0000 (12:35 +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 1fd5e50..562b102 100644 (file)
@@ -1679,6 +1679,7 @@ again:
             goto end;
     }
 
+    ret = 0;
 end:
     /* clean up */
     if (h->cur_pic_ptr && !h->droppable) {