summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-28 00:46:50 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-09-29 12:33:55 +0100
commit2cd7c99498b1bcb450c328459cf85a686ce83456 (patch)
tree37b44d1b745b27ab31a1eba1b4ed9c8337f7d010 /libavcodec/h264.c
parente3a00acde05c925617dc19b5373969d864bf8414 (diff)
downloadffmpeg-2cd7c99498b1bcb450c328459cf85a686ce83456.tar.gz
h264: reset ret to avoid propagating minor failures
Unbreak 772d150a6e82542c06b0c251e73dd299d98d1027. CC: libav-stable@libav.org Bug-Id: 750 / 905753 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 1fd5e506cd..562b1023e3 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) {