Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-12-04 Thread Michael Niedermayer
On Thu, Dec 04, 2014 at 11:33:03PM +0100, Lukasz Marek wrote: > On 04.12.2014 12:42, Clément Bœsch wrote: > >On Thu, Dec 04, 2014 at 12:39:29AM +0100, Lukasz Marek wrote: > >>On 24.11.2014 01:17, Lukasz Marek wrote: > >>>libxvidcore calculate number of threads basing on video height. > >>>If height

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-12-04 Thread Lukasz Marek
On 04.12.2014 12:42, Clément Bœsch wrote: On Thu, Dec 04, 2014 at 12:39:29AM +0100, Lukasz Marek wrote: On 24.11.2014 01:17, Lukasz Marek wrote: libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting t

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-12-04 Thread Clément Bœsch
On Thu, Dec 04, 2014 at 12:39:29AM +0100, Lukasz Marek wrote: > On 24.11.2014 01:17, Lukasz Marek wrote: > >libxvidcore calculate number of threads basing on video height. > >If height is small enough it allocates 0 bytes long memory and > >writes to it. > >Setting thread_count to 0 uses 1 thread a

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-12-03 Thread Michael Niedermayer
On Thu, Dec 04, 2014 at 12:39:29AM +0100, Lukasz Marek wrote: > On 24.11.2014 01:17, Lukasz Marek wrote: > >libxvidcore calculate number of threads basing on video height. > >If height is small enough it allocates 0 bytes long memory and > >writes to it. > >Setting thread_count to 0 uses 1 thread a

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-12-03 Thread Lukasz Marek
On 24.11.2014 01:17, Lukasz Marek wrote: libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting thread_count to 0 uses 1 thread and skips bugged code. Signed-off-by: Lukasz Marek --- libavcodec/libxv

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-11-25 Thread Lukasz Marek
On 24.11.2014 01:17, Lukasz Marek wrote: libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting thread_count to 0 uses 1 thread and skips bugged code. Signed-off-by: Lukasz Marek --- libavcodec/libxv

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-11-23 Thread Lukasz Marek
On 24.11.2014 01:17, Lukasz Marek wrote: libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting thread_count to 0 uses 1 thread and skips bugged code. Signed-off-by: Lukasz Marek --- libavcodec/libxv

[FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-11-23 Thread Lukasz Marek
libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting thread_count to 0 uses 1 thread and skips bugged code. Signed-off-by: Lukasz Marek --- libavcodec/libxvid.c | 11 +++ 1 file changed, 11 in