diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-28 10:38:29 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-28 16:33:09 +0100 |
commit | 0c69164f451cc9ca6ce9d6e7568083e2776bc845 (patch) | |
tree | 23d53888203aa795c98625b7cd9bf8c1371d10e7 /libavcodec/vaapi_mpeg4.c | |
parent | 59dfc2b0c89f35c5805abee72c2ae4ee7af8e98d (diff) | |
download | ffmpeg-0c69164f451cc9ca6ce9d6e7568083e2776bc845.tar.gz |
h263: Convert function to macro
Diffstat (limited to 'libavcodec/vaapi_mpeg4.c')
-rw-r--r-- | libavcodec/vaapi_mpeg4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c index 1cf1ea7e1d..49d5f07e43 100644 --- a/libavcodec/vaapi_mpeg4.c +++ b/libavcodec/vaapi_mpeg4.c @@ -90,7 +90,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_ pic_param->vop_fcode_forward = s->f_code; pic_param->vop_fcode_backward = s->b_code; pic_param->vop_time_increment_resolution = avctx->framerate.num; - pic_param->num_macroblocks_in_gob = s->mb_width * ff_h263_get_gob_height(s); + pic_param->num_macroblocks_in_gob = s->mb_width * H263_GOB_HEIGHT(s->height); pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) / pic_param->num_macroblocks_in_gob; pic_param->TRB = s->pb_time; pic_param->TRD = s->pp_time; |