[FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Oct 30 01:37:27 CET 2015
Michael Niedermayer <michael <at> niedermayer.cc> writes:
> > + // QT ignores the written value
> > + // slice_count = AV_RB16(buf + 5);
> > + slice_count = ctx->mb_height *
> > ((ctx->mb_width >> log2_slice_mb_width) +
> > +
> > av_popcount(ctx->mb_width & (1 << log2_slice_mb_width) - 1));
>
> if thats what QT does then sure LGTM
Patch applied.
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list