summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv2enc.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/flashsv2enc.c
parent12bdc7b15e4f5a24842b34ba79f59ca869f8f33a (diff)
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flashsv2enc.c')
-rw-r--r--libavcodec/flashsv2enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c
index 9f7017e033..6466be7858 100644
--- a/libavcodec/flashsv2enc.c
+++ b/libavcodec/flashsv2enc.c
@@ -870,12 +870,12 @@ static int flashsv2_encode_frame(AVCodecContext * avctx, uint8_t * buf,
if (keyframe) {
new_key_frame(s);
- p->pict_type = FF_I_TYPE;
+ p->pict_type = AV_PICTURE_TYPE_I;
p->key_frame = 1;
s->last_key_frame = avctx->frame_number;
av_log(avctx, AV_LOG_DEBUG, "Inserting key frame at frame %d\n", avctx->frame_number);
} else {
- p->pict_type = FF_P_TYPE;
+ p->pict_type = AV_PICTURE_TYPE_P;
p->key_frame = 0;
}