diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-01 18:57:20 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-21 15:51:53 +0400 |
commit | e5b29c1f6b5cd17ba4f0a976a535c4003a07eb02 (patch) | |
tree | 34b6588f378dcc7c68d7906b9ea9468a6cdb3e8f /libavcodec/mpeg12.c | |
parent | feedc0754bd9fbdb1ae3453bc0555513e61d9e8d (diff) |
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
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; |