[FFmpeg-devel] av_read_frame return -32 before EOF in case of gsm_ms/gsm wav files

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Sep 9 09:58:40 CEST 2011


On Fri, Sep 09, 2011 at 07:01:43AM +0000, Gaurav wrote:
> av_read_frame function is returning -32 after 5/6 frames but I have very large
> file. This behaviour of the code is only for libgsm wav files only. If I play
> .mp3 or other wav files there is no error.
> 
> Can some one help me why av_read_frame return -32 before EOF in case of
> libgsm_ms file on android platfrom.

Why are you using libgsm_ms instead of the native gsm_ms decoder?
-32 should be EPIPE.
Either way this is the wrong list, questions about using libav* should
be asked on the libav-users lists and bugs should be reported on the bug
tracker.


More information about the ffmpeg-devel mailing list