Hi Kevin,
-22 is an negative error code.
You can find what it means directly in the dOxygen documentation of the lib:
http://ffmpeg.org/doxygen/trunk/group__lavc__core.html#ga11f785a188d7d9df71621001465b0f1d

You can get the message of this error code by using the av_strerror() function:
http://ffmpeg.org/doxygen/trunk/group__lavu__error.html#ga5792b4a2d18d7d9cb0efbcfc335dce24

Good luck!

Le 15 juin 2015 à 16:31, Kevin J. Brooks <[email protected]> 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
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to