[Libav-user] segfault at avcodec_encode_audio2 when

Yuri Oleynikov (יורי אולייניקוב yurkao at gmail.com
Wed Feb 12 21:11:07 CET 2014


sorry, seems to be my fault:(
after running static analysis tools and code fixing, the segfault seems to
be disappeared.

however, the minor problem still presents:
on windows, after avcodec_find_decoder(some_id), PCM's
AVCodec.supported_samplerates and
AVCodec.channel_layouts are always NULL, though i've called
avcodec_register_all before.



2014-02-12 1:42 GMT+02:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> Yuri Oleynikov (יורי אולייניקוב <yurkao at ...> writes:
>
> > 0x7692a06e in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
> > (gdb) bt
> >
> > #0  0x7692a06e in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
> > #1  0x7692a00b in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
> >
> > #2  0x5d282c0f in avcodec-55!av_parser_close ()
> >    from C:\Users\devel\Documents\Visual Studio 2010\
> > Projects\avconv\Debug\avcodec-55.dll
> > #3  0x00168940 in ?? ()
> >
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>
> If you use shared libraries, you will need
> --disable-stripping (and maybe --disable-optimizations)
> to produce a useful backtrace.
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140212/d2a82ae9/attachment.html>


More information about the Libav-user mailing list