[FFmpeg-devel] [PATCH] lavd: add uncoded_frame test program.

Nicolas George george at nsup.org
Sun Feb 9 19:26:24 CET 2014


Le primidi 21 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> confirmed, that solves building
> 
> the xv/alsa example fails though, the other works
> 
> [NULL @ 0x19f4b00] Requested output format 'xv' is not a suitable output format
> Failed to allocate output 'Invalid argument'

It fails because you do not have Xv support built in. Probably missing Xlib
headers.

> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000047a6bc in main (argc=4, argv=0x7fffffffe498) at tools/uncoded_frame.c:270
> 270             if (st->mux->pb)
> (gdb) bt
> #0  0x000000000047a6bc in main (argc=4, argv=0x7fffffffe498) at tools/uncoded_frame.c:270

And it segfaults because I was sloppy checking the error paths. Fixed patch
attached, thanks for the testing.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tools-add-uncoded_frame-test-program.patch
Type: text/x-diff
Size: 11283 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140209/7311f94c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140209/7311f94c/attachment.asc>


More information about the ffmpeg-devel mailing list