[FFmpeg-devel] [PATCH 3/3] Export metadata in the generic format.

Anton Khirnov anton
Thu Oct 14 11:20:35 CEST 2010


On Thu, Oct 14, 2010 at 08:14:22AM +0000, Carl Eugen Hoyos wrote:
> Anton Khirnov <anton <at> khirnov.net> writes:
> 
> [attached patch]
> 
> $ ./ffmpeg_g -ac 2 -f s16le -i tests/data/asynth1.sw out.flac
> 
> ...
> 
> Program received signal SIGSEGV, Segmentation fault.
> av_metadata_get (flags=<value optimized out>, prev=<value optimized out>,
> key=<value optimized out>,
>     m=<value optimized out>) at libavformat/metadata.c:36
> 36          for(; i<m->count; i++){
> (gdb) bt
> #0  av_metadata_get (flags=<value optimized out>, prev=<value optimized out>,
> key=<value optimized out>,
>     m=<value optimized out>) at libavformat/metadata.c:36
> #1  metadata_conv (flags=<value optimized out>, prev=<value optimized out>,
> key=<value optimized out>,
>     m=<value optimized out>) at libavformat/metadata.c:129
> #2  0x000000000047b519 in ff_vorbiscomment_write (p=0x7fffffffccf0,
>     m=0x11e1730, vendor_string=0x908460 "Lavf52.83.0", count=1) at
> libavformat/vorbiscomment.c:58
> #3  0x000000000043b4fb in flac_write_block_comment (bitexact=<value
> optimized out>,
>     m=<value optimized out>, pb=<value optimized out>, last_block=<value
> optimized out>)
>     at libavformat/flacenc.c:57
> #4  flac_write_header (bitexact=<value optimized out>,
>     m=<value optimized out>, pb=<value optimized out>,
>     last_block=<value optimized out>) at libavformat/flacenc.c:75
> #5  0x00000000004a1277 in av_write_header (s=0x11d47d0) at
> libavformat/utils.c:2765
> #6  0x000000000040df2a in transcode (nb_output_files=<value optimized out>,
>     nb_input_files=<value optimized out>, stream_maps=<value optimized out>,
>     nb_stream_maps=<value optimized out>, input_files=<value optimized out>,
>     output_files=<value optimized out>) at ffmpeg.c:2430
> #7  0x000000000040e8f1 in main (argc=8, argv=<value optimized out>) at
> ffmpeg.c:4359
> 
> 
Works fine here. Are you sure you applied all three patches?

-- 
Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101014/9981d9c5/attachment.pgp>



More information about the ffmpeg-devel mailing list