1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/h264: do not leave ret random on minor failures, causing major failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-06-24 01:54:39 +02:00
parent 82e4340f1e
commit 47048aa30b

View File

@ -1751,6 +1751,7 @@ again:
goto end;
}
ret = 0;
end:
/* clean up */
if (h->cur_pic_ptr && !h->droppable) {