mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-15 13:21:09 +08: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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user