diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 71143c153c..b49f6cc6f5 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -799,7 +799,7 @@ static av_always_inline int fill_caches(H264Context *h, int mb_type, int for_deb int qp = s->current_picture.qscale_table[mb_xy]; if(qp <= qp_thresh && (left_xy[0]<0 || ((qp + s->current_picture.qscale_table[left_xy[0]] + 1)>>1) <= qp_thresh) - && (top_xy < 0 || ((qp + s->current_picture.qscale_table[top_xy ] + 1)>>1) <= qp_thresh)){ + && (top_xy < 0 || ((qp + s->current_picture.qscale_table[top_xy ] + 1)>>1) <= qp_thresh)){ if(!FRAME_MBAFF) return 1; if( (left_xy[0]< 0 || ((qp + s->current_picture.qscale_table[left_xy[0]+s->mb_stride] + 1)>>1) <= qp_thresh)