[Libav-user] avcodec_open2 returns -22

Talgorn François-Xavier fxtalgorn at yahoo.fr
Mon Jun 15 19:38:20 CEST 2015

Hi Kevin,
-22 is an negative error code.
You can find what it means directly in the dOxygen documentation of the lib:

You can get the message of this error code by using the av_strerror() function:

Good luck!

Le 15 juin 2015 à 16:31, Kevin J. Brooks <kbrooks at r2c-ss.com> a écrit :

> 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.
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

More information about the Libav-user mailing list