diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 3e29bccf765a4ff08079ee57ed10fa8667f69a70..325fe2033f3d845e487ea52d0ed83ab09e2aefc2 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -4234,7 +4234,7 @@ static int encode_thread(AVCodecContext *c, void *arg){ s->mb_skiped=0; s->dquant=0; //only for QP_RD - if(mb_type & (mb_type-1) || (s->flags & CODEC_FLAG_QP_RD)){ // more than 1 MB type possible + if(mb_type & (mb_type-1) || (s->flags & CODEC_FLAG_QP_RD)){ // more than 1 MB type possible or CODEC_FLAG_QP_RD int next_block=0; int pb_bits_count, pb2_bits_count, tex_pb_bits_count;