aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/yuv4enc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-04 19:45:46 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-04 19:45:46 +0100
commit84ce58faf59d88b497917b3d9e13a5fb2a10fe3e (patch)
tree015dd1467330731c4b0572421866424dac787025 /libavcodec/yuv4enc.c
parent17edc370b2e0656ed827b20a865347a9c87cbc1a (diff)
downloadffmpeg-84ce58faf59d88b497917b3d9e13a5fb2a10fe3e.tar.gz
Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.
Found-by: Paul B Mahol
Diffstat (limited to 'libavcodec/yuv4enc.c')
-rw-r--r--libavcodec/yuv4enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c
index f15b7e82de..db7b6245fb 100644
--- a/libavcodec/yuv4enc.c
+++ b/libavcodec/yuv4enc.c
@@ -50,7 +50,7 @@ static int yuv4_encode_frame(AVCodecContext *avctx, uint8_t *buf,
avctx->coded_frame->reference = 0;
avctx->coded_frame->key_frame = 1;
- avctx->coded_frame->pict_type = FF_I_TYPE;
+ avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
y = pic->data[0];
u = pic->data[1];