diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-24 01:54:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-24 01:54:39 +0200 |
commit | 47048aa30b5c35fc8b030e819b9769b6bca03c08 (patch) | |
tree | 6bc0454a3394cede7215db1a19630e4eefb58a4c | |
parent | 82e4340f1ef0dba67ca9e264a400aec895293dfe (diff) | |
download | ffmpeg-47048aa30b5c35fc8b030e819b9769b6bca03c08.tar.gz |
avcodec/h264: do not leave ret random on minor failures, causing major failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 561fcb2622..7718b5118f 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) { |