[Libav-user] avcodec_encode_audio2 failing with error code -22 in C++ FFMPEG
harry at gps-laptimer.de
Thu Jun 19 10:41:42 CEST 2014
> I have the following code to encode an audio stream and everything seems to be working fine until I get to the avcodec_encode_audio2 function, I am failing with -22 error code, and I dont know what that error code means. I verified that pFrame and out_fmt_ctx are allocated. Does anyone have an idea of what the problem might be?
av_err2str (ret) generates a human readable version of the error code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4145 bytes
Desc: not available
More information about the Libav-user