mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 04:02:04 +08:00
lavc: Drop deprecated time_base variable for decoding
Deprecated in 10/2015.
This commit is contained in:
@@ -163,11 +163,6 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
|
||||
s->coded_width = FFALIGN(pc->width, 16);
|
||||
s->coded_height = FFALIGN(pc->height, 16);
|
||||
}
|
||||
|
||||
#if FF_API_AVCTX_TIMEBASE
|
||||
if (avctx->framerate.num)
|
||||
avctx->time_base = av_inv_q(avctx->framerate);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int mpegvideo_parse(AVCodecParserContext *s,
|
||||
|
||||
Reference in New Issue
Block a user