[FFmpeg-devel] [PATCH 2/2] lavfi/sink_buffer: implement libav compatibility API.

Nicolas George nicolas.george at normalesup.org
Thu Sep 27 16:51:15 CEST 2012

Le quintidi 5 vendémiaire, an CCXXI, Michael Niedermayer a écrit :
> for me it seems crashing at fate-flic-magiccarpet, which it does not
> do with incompatible_fork_abi
> but the patch should be ok as i didnt notice a change when
> incompatible_fork_abi is enabled
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff795e41f in vsink_init (ctx=0x63fb20, args=0x0, opaque=0x110) at libavfilter/sink_buffer.c:207

That is very strange, and it does not happen for me:


    ret = avfilter_graph_create_filter(&ofilter->filter,
                                       name, NULL, NULL, fg->graph);

avfilter_graph_create_filter (args and opaque are the NULL above):

    if ((ret = avfilter_init_filter(*filt_ctx, args, opaque)) < 0)


    if (filter->filter->init_opaque)
        ret = filter->filter->init_opaque(filter, args, opaque);


        .init_opaque = vsink_init,

I do not understand how that 0x110 can arrive here. Does valgrind report
errors earlier in the run?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120927/d23e1af5/attachment.asc>

More information about the ffmpeg-devel mailing list