aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/y41penc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-02 17:49:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-01-03 03:25:22 +0100
commit7099f36578252935157be322bc9a34d0c861f83e (patch)
treee51a69f8c26b9d5b1024cf32b1d345e9ddfcbb7d /libavcodec/y41penc.c
parent12bdc7b15e4f5a24842b34ba79f59ca869f8f33a (diff)
downloadffmpeg-7099f36578252935157be322bc9a34d0c861f83e.tar.gz
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/y41penc.c')
-rw-r--r--libavcodec/y41penc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c
index b8b4a2e43b..aa32403a45 100644
--- a/libavcodec/y41penc.c
+++ b/libavcodec/y41penc.c
@@ -54,7 +54,7 @@ static int y41p_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;
for (i = avctx->height - 1; i >= 0; i--) {
y = &pic->data[0][i * pic->linesize[0]];