[Ffmpeg-devel] Adding support for YUVJ formats in libswscale

Luca Abeni lucabe72
Wed Sep 20 10:50:27 CEST 2006


Hi V?ctor,

first of all, thanks for the feedback.

On Tue, 2006-09-19 at 13:28 +0200, V?ctor Paesa wrote:
[...]
> It segfaults during a make test:
> 
> ../ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -y -qscale 10 -f
> pgmyuv -i vsynth1/%02d.pgm -an -vcodec mjpeg -pix_fmt yuvj420p
> ./data/a-mjpeg.avi
> /home/wzrlpy/src/FFmpeg-20060919-6289/ffmpeg/tests/regression.sh: line
> 114:  2756 Segmentation fault      (core dumped) $ffmpeg -y -flags
> +bitexact -dct fastint -idct simple -benchmark $* >$datadir/bench.tmp
> 2>/tmp/ffmpeg$$
> make[1]: *** [codectest] Error 139
> make[1]: Leaving directory
> `/home/wzrlpy/src/FFmpeg-20060919-6289/ffmpeg/tests'
> make: *** [test] Error 2
I tried to have a look at this problem yesterday evening, but I cannot
reproduce the segfault on linux/x86... "make test" fails because swscale
is doing some conversions in a different way respect to img_convert(),
but no segfaults.

Maybe the problem is windows dependent, or CPU dependent? I'll try to
steal a windows machine to someone, and to reproduce the segfault. Are
you using cygwin or mingw?

BTW, having EIP in in_asm_used_var_warning_killer() looks very wrong
(unless I am misunderstandig the code)... Maybe the stack frame is
corrupted and gdb output is unreliable?

			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list