diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-18 10:30:03 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-18 14:26:14 +0300 |
commit | eaa9b2e66c04d234eab85e2991d756ee36858808 (patch) | |
tree | 60d2148a0dfe32dc65d03f4c01d1d6470fcef643 /libavcodec/mpegvideo_parser.c | |
parent | fc085c5b33a966ad893757ab1c4269bf829ce499 (diff) | |
download | ffmpeg-eaa9b2e66c04d234eab85e2991d756ee36858808.tar.gz |
avcodec: Rename avpriv_frame_rate_tab to ff_mpeg12_frame_rate_tab
This table doesn't need to be shared with libavformat any longer.
Add mpeg12 to the name to make it less ambiguous, while renaming it.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegvideo_parser.c')
-rw-r--r-- | libavcodec/mpegvideo_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index f1fc4a0e89..051796e0c0 100644 --- a/libavcodec/mpegvideo_parser.c +++ b/libavcodec/mpegvideo_parser.c @@ -65,8 +65,8 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s, did_set_size=1; } frame_rate_index = buf[3] & 0xf; - pc->frame_rate.den = avctx->time_base.den = avpriv_frame_rate_tab[frame_rate_index].num; - pc->frame_rate.num = avctx->time_base.num = avpriv_frame_rate_tab[frame_rate_index].den; + pc->frame_rate.den = avctx->time_base.den = ff_mpeg12_frame_rate_tab[frame_rate_index].num; + pc->frame_rate.num = avctx->time_base.num = ff_mpeg12_frame_rate_tab[frame_rate_index].den; avctx->bit_rate = ((buf[4]<<10) | (buf[5]<<2) | (buf[6]>>6))*400; avctx->codec_id = AV_CODEC_ID_MPEG1VIDEO; } |