xuekang99 / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

EOF error not recognized #286

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile Xuggler with new ffmpeg (not captive)
2. Run demux loop until end of file
3. readNextPacket will return 'Unknown error' instead of EOF

Around April ffmpeg broke API by changing how EOF is reported from EPIPE to 
different value defined as AVERROR_EOF. Attached patch recognizes AVERROR_EOF 
if it is defined. It does not break compiling with captive ffmpeg.

Original issue reported on code.google.com by stachows...@gmail.com on 15 Dec 2011 at 2:21

Attachments: