[x264-devel] does not link lavf support

Erik Slagter erik at slagter.name
Tue Jun 28 13:42:12 CEST 2011


Even more detailed info.

The piece of asm at 1969 of swscale_template.c (libav) is called multiple
times. The first time with dstW == 704 (apparently the luma plane), the
second time it's called with dstW = 352 (chroma plane) and then src = 0
which causes the segfault. I am not sure who is to "blame" (yet).

Breakpoint 3, hScale_MMX (dst=0x239dd00, dstW=352, src=0x0, filter=0x239ca20, filterPos=0x239c700, filterSize=4)
     at libswscale/x86/swscale_template.c:1920
1920	    if (filterSize==4) { // Always true for upscaling, sometimes for down, too.
(gdb) where
#0  hScale_MMX (dst=0x239dd00, dstW=352, src=0x0, filter=0x239ca20, filterPos=0x239c700, filterSize=4)
     at libswscale/x86/swscale_template.c:1920
#1  0x0000000000bd50a3 in hcscale (c=0x2394e60, src=0x7fffffffdce0, srcStride=0x7fffffffdcb0, srcSliceY=0, srcSliceH=576,
     dst=0x7fffffffdcc0, dstStride=0x7fffffffdca0) at libswscale/swscale.c:1922
#2  swScale (c=0x2394e60, src=0x7fffffffdce0, srcStride=0x7fffffffdcb0, srcSliceY=0, srcSliceH=576, dst=0x7fffffffdcc0,
     dstStride=0x7fffffffdca0) at libswscale/swscale.c:2338
#3  0x0000000000b73e71 in sws_scale (c=0x2394e60, src=0x15aa598, srcStride=0x15aa5b8, srcSliceY=0, srcSliceH=576,
     dst=0x15a7980, dstStride=0x15a79a0) at libswscale/swscale_unscaled.c:839
#4  0x000000000041141e in get_frame (handle=0x15a7930, output=0x15aa588, frame=0) at filters/video/resize.c:529
#5  0x0000000000411d3c in get_frame (handle=0x15aa4f0, output=0x7fffffffde70, frame=0) at filters/video/fix_vfr_pts.c:84
#6  0x0000000000407ce5 in encode (param=0x7fffffffe080, opt=0x7fffffffe040) at x264.c:1704
#7  0x00000000004041d7 in main (argc=4, argv=0x7fffffffe468) at x264.c:279

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110628/9b36a9dd/attachment.bin>


More information about the x264-devel mailing list