diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-28 01:40:44 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-02 16:41:41 +0200 |
commit | ce5e49b0c2c11ec153834677fc5c903dd71d4e6e (patch) | |
tree | d641bd887afa961820f6bc93727c9b0812b58aa1 /libavcodec/bfi.c | |
parent | 301183d9be4e426d472d4be8c84095c853cb8ac4 (diff) | |
download | ffmpeg-ce5e49b0c2c11ec153834677fc5c903dd71d4e6e.tar.gz |
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r-- | libavcodec/bfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c index 6fc1628d2b..e0b0c68e8b 100644 --- a/libavcodec/bfi.c +++ b/libavcodec/bfi.c @@ -69,7 +69,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data, /* Set frame parameters and palette, if necessary */ if (!avctx->frame_number) { - bfi->frame.pict_type = FF_I_TYPE; + bfi->frame.pict_type = AV_PICTURE_TYPE_I; bfi->frame.key_frame = 1; /* Setting the palette */ if(avctx->extradata_size>768) { @@ -89,7 +89,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data, memcpy(bfi->pal, bfi->frame.data[1], sizeof(bfi->pal)); bfi->frame.palette_has_changed = 1; } else { - bfi->frame.pict_type = FF_P_TYPE; + bfi->frame.pict_type = AV_PICTURE_TYPE_P; bfi->frame.key_frame = 0; bfi->frame.palette_has_changed = 0; memcpy(bfi->frame.data[1], bfi->pal, sizeof(bfi->pal)); |