mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 09:41:32 +08:00
lavc: Drop deprecated time_base variable for decoding
Deprecated in 10/2015.
This commit is contained in:
@@ -663,11 +663,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
ret = AVERROR(EINVAL);
|
||||
goto free_and_end;
|
||||
}
|
||||
|
||||
#if FF_API_AVCTX_TIMEBASE
|
||||
if (avctx->framerate.num > 0 && avctx->framerate.den > 0)
|
||||
avctx->time_base = av_inv_q(avctx->framerate);
|
||||
#endif
|
||||
}
|
||||
end:
|
||||
if (!(codec->caps_internal & FF_CODEC_CAP_INIT_THREADSAFE) && codec->init) {
|
||||
|
Reference in New Issue
Block a user