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/mpegvideo.c | |
parent | feedc0754bd9fbdb1ae3453bc0555513e61d9e8d (diff) |
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 6839186aac..e418e95a33 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -539,7 +539,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src s->last_pict_type= s1->pict_type; if (s1->current_picture_ptr) s->last_lambda_for[s1->pict_type] = s1->current_picture_ptr->f.quality; - if(s1->pict_type!=FF_B_TYPE){ + if (s1->pict_type != AV_PICTURE_TYPE_B) { s->last_non_b_pict_type= s1->pict_type; } } @@ -2652,6 +2652,6 @@ void ff_set_qscale(MpegEncContext * s, int qscale) void MPV_report_decode_progress(MpegEncContext *s) { - if (s->pict_type != FF_B_TYPE && !s->partitioned_frame && !s->error_occurred) + if (s->pict_type != AV_PICTURE_TYPE_B && !s->partitioned_frame && !s->error_occurred) ff_thread_report_progress((AVFrame*)s->current_picture_ptr, s->mb_y, 0); } |