2008/12/5 Stefano Sabatini <[EMAIL PROTECTED]> > On date Friday 2008-12-05 15:22:19 -0500, Franco Amato encoded: > [...] > > > > and If I comment it I get a segmentation fault from > > > > av_alloc_format_context(); > > > > > > Try to debug it (you need to compile FFmpeg with --enable-debug=3 > > > --disable-optimization --disable-stripping). > > > > > I need to recompile it to debug? And once found the error I need to > > recompile with the originals options? > > You can keep the original options, but yes in order to debug libav* > you are *recommended* to compile that way, obviously when you're on a > production stage you're not going to keep that options in order to get > the optimizations advantages. > > But rethinking at it, I strongly doubt it is a problem with libav*, > apart the tips already suggested by others I'd double check for shared > libraries loading issues (tip: are you using the same libraries you > compiled against? strace is your friend).
Hi Stefano, yes I only moved the piece of code I posted from a routine to another. I'm becoming crazy > > > Regards. > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > -- Franco Amato _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
