[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:
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 <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