[Libav-user] av_read_frame returns -32

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Mar 6 15:51:13 CET 2012

2012/3/6 Bob Self <bobslf at gmail.com>:
> I am trying to get a simple video play working for an xvid codec.
> Below is the essential part of the
> program. It stops decoding the movie at frame 2247. The video is about 1.5
> hours and has a lot more frames that that.
> The problem is that av_read_frame() is returning -32 I can't find any
> documentation
> about what this return value means.

Errno=32 represents "Broken pipe".
Most probably it can happen if you receive source video by network protocol.
You didn't tell what is the file and how you reach it from your app,
so above is just guess.

Andrey Utkin

More information about the Libav-user mailing list