mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-05-11 05:23:38 +02:00
7b1c5fa5e5
This is more robust.
And only check if there is actually a frame returned.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit dd6c8575db)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>