diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-29 18:53:57 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-02 12:18:44 +0200 |
commit | 975a1447f76e8d30fc01e6ea5466c84faf3d76e4 (patch) | |
tree | d462ee5cc7a2f59c44f797c97fc237c999c94e55 /libavcodec/libxvidff.c | |
parent | 6209669de4a0aa056ae05b0a2c78eaf2ca489b23 (diff) | |
download | ffmpeg-975a1447f76e8d30fc01e6ea5466c84faf3d76e4.tar.gz |
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/libxvidff.c')
-rw-r--r-- | libavcodec/libxvidff.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c index 89360e0ac6..96ce84872b 100644 --- a/libavcodec/libxvidff.c +++ b/libavcodec/libxvidff.c @@ -450,9 +450,9 @@ static int xvid_encode_frame(AVCodecContext *avctx, xvid_enc_frame.vol_flags = x->vol_flags; xvid_enc_frame.motion = x->me_flags; xvid_enc_frame.type = - picture->pict_type == FF_I_TYPE ? XVID_TYPE_IVOP : - picture->pict_type == FF_P_TYPE ? XVID_TYPE_PVOP : - picture->pict_type == FF_B_TYPE ? XVID_TYPE_BVOP : + picture->pict_type == AV_PICTURE_TYPE_I ? XVID_TYPE_IVOP : + picture->pict_type == AV_PICTURE_TYPE_P ? XVID_TYPE_PVOP : + picture->pict_type == AV_PICTURE_TYPE_B ? XVID_TYPE_BVOP : XVID_TYPE_AUTO; /* Pixel aspect ratio setting */ @@ -493,13 +493,13 @@ static int xvid_encode_frame(AVCodecContext *avctx, if( 0 <= xerr ) { p->quality = xvid_enc_stats.quant * FF_QP2LAMBDA; if( xvid_enc_stats.type == XVID_TYPE_PVOP ) - p->pict_type = FF_P_TYPE; + p->pict_type = AV_PICTURE_TYPE_P; else if( xvid_enc_stats.type == XVID_TYPE_BVOP ) - p->pict_type = FF_B_TYPE; + p->pict_type = AV_PICTURE_TYPE_B; else if( xvid_enc_stats.type == XVID_TYPE_SVOP ) - p->pict_type = FF_S_TYPE; + p->pict_type = AV_PICTURE_TYPE_S; else - p->pict_type = FF_I_TYPE; + p->pict_type = AV_PICTURE_TYPE_I; if( xvid_enc_frame.out_flags & XVID_KEYFRAME ) { p->key_frame = 1; if( x->quicktime_format ) |