mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +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:
parent
82e4340f1e
commit
47048aa30b
@ -1751,6 +1751,7 @@ again:
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = 0;
|
||||||
end:
|
end:
|
||||||
/* clean up */
|
/* clean up */
|
||||||
if (h->cur_pic_ptr && !h->droppable) {
|
if (h->cur_pic_ptr && !h->droppable) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user