summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-01 16:57:20 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-21 13:51:53 +0200
commite5b29c1f6b5cd17ba4f0a976a535c4003a07eb02 (patch)
tree34b6588f378dcc7c68d7906b9ea9468a6cdb3e8f /libavcodec/mpeg12.c
parentfeedc0754bd9fbdb1ae3453bc0555513e61d9e8d (diff)
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index b4a83b45dc..6a12344139 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1167,7 +1167,7 @@ static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCode
if (!ctx->mpeg_enc_ctx_allocated)
memcpy(s + 1, s1 + 1, sizeof(Mpeg1Context) - sizeof(MpegEncContext));
- if (!(s->pict_type == FF_B_TYPE || s->low_delay))
+ if (!(s->pict_type == AV_PICTURE_TYPE_B || s->low_delay))
s->picture_number++;
return 0;