[Libav-user] segfault at avcodec_encode_audio2 when

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 12 23:47:23 CET 2014

Yuri Oleynikov (יורי אולייניקוב <yurkao at ...> writes:

> 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.

Both are not pointers and should neither be 
set nor compared with NULL.

Carl Eugen

More information about the Libav-user mailing list