Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- libavcodec/h264dec.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 5cffeafc6b..b4973fce29 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -125,16 +125,16 @@ void ff_h264_draw_horiz_band(const H264Context *h, H264SliceContext *sl, desc = av_pix_fmt_desc_get(avctx->pix_fmt); vshift = desc->log2_chroma_h; - offset[0] = y * src->linesize[0]; - offset[1] = - offset[2] = (y >> vshift) * src->linesize[1]; - for (int i = 3; i < AV_NUM_DATA_POINTERS; i++) - offset[i] = 0; + offset[0] = y * src->linesize[0]; + offset[1] = + offset[2] = (y >> vshift) * src->linesize[1]; + for (int i = 3; i < AV_NUM_DATA_POINTERS; i++) + offset[i] = 0; - emms_c(); + emms_c(); - avctx->draw_horiz_band(avctx, src, offset, - y, h->picture_structure, height); + avctx->draw_horiz_band(avctx, src, offset, + y, h->picture_structure, height); } void ff_h264_free_tables(H264Context *h) -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".