aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msvideo1enc.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/msvideo1enc.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/msvideo1enc.c')
-rw-r--r--libavcodec/msvideo1enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msvideo1enc.c b/libavcodec/msvideo1enc.c
index 401ac2a2ae..971cce35e6 100644
--- a/libavcodec/msvideo1enc.c
+++ b/libavcodec/msvideo1enc.c
@@ -243,7 +243,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void
c->keyint = 0;
else
c->keyint++;
- p->pict_type= keyframe ? FF_I_TYPE : FF_P_TYPE;
+ p->pict_type= keyframe ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
p->key_frame= keyframe;
return dst - buf;