<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 15, 2015 at 7:31 PM, Kevin J. Brooks <span dir="ltr"><<a href="mailto:kbrooks@r2c-ss.com" target="_blank">kbrooks@r2c-ss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.<br></blockquote><div><br></div><div>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).<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div></div>