Re: [FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions

2015-10-29 Thread Carl Eugen Hoyos
Michael Niedermayer 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 << l

Re: [FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions

2015-10-28 Thread Michael Niedermayer
On Sun, Oct 25, 2015 at 03:09:24PM +0100, Carl Eugen Hoyos wrote: > On Sunday 25 October 2015 01:37:15 pm Carl Eugen Hoyos wrote: > > Hi! > > > > Attached patch intends to fix an issue reported by forum user Koracas: > > For slice_count > 0x1 FFmpeg fails to decode a frame, QT seems to > > igno

Re: [FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions

2015-10-25 Thread Carl Eugen Hoyos
On Sunday 25 October 2015 01:37:15 pm Carl Eugen Hoyos wrote: > Hi! > > Attached patch intends to fix an issue reported by forum user Koracas: > For slice_count > 0x1 FFmpeg fails to decode a frame, QT seems to > ignore the value. New patch attached. Please comment, Carl Eugen diff --git a/li

Re: [FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions

2015-10-25 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > +slice_count = FFMAX(slice_count, > +ctx->mb_width * ctx->mb_height / > mb_height_pow2[log2_slice_mb_width]); This is not correct, please ignore. Carl Eugen ___ ffmpeg-devel mailing li

[FFmpeg-devel] [PATCH]lavc/proresdec2: Fix slice_count for very high resolutions

2015-10-25 Thread Carl Eugen Hoyos
Hi! Attached patch intends to fix an issue reported by forum user Koracas: For slice_count > 0x1 FFmpeg fails to decode a frame, QT seems to ignore the value. Please comment, Carl Eugen diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index 932f85f..7d06a0b 100644 --- a/libavco