[Libav-user] avcodec_open2 returns -22

Kevin J. Brooks kbrooks at r2c-ss.com
Tue Jun 16 14:06:05 CEST 2015


Yes I am.  For more information, I am developing on Windoze 7.On 
6/16/2015 12:18 AM, Taha Ansari wrote:
>
>
> On Mon, Jun 15, 2015 at 7:31 PM, Kevin J. Brooks <kbrooks at r2c-ss.com 
> <mailto:kbrooks at r2c-ss.com>> wrote:
>
>     I am having and issue with an audio codec.  When I call
>     avcodec_open2 it returns -22.  I have not been able to discover
>     what that code indicates.
>
>
> Are you calling av_register_all(); before calling any other libav 
> related function? IIRC I used to get such error when I forgot calling 
> initialization function(s).
>
>     _______________________________________________
>     Libav-user mailing list
>     Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
>     http://ffmpeg.org/mailman/listinfo/libav-user
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150616/66a45f7a/attachment.html>


More information about the Libav-user mailing list