[FFmpeg-devel] [PATCH] mov: replace AVERROR(EOF) with AVERROR_EOF.
nicolas.george at normalesup.org
Wed Dec 21 19:47:06 CET 2011
Le primidi 1er nivôse, an CCXX, Michael Niedermayer a écrit :
> and i think it was one file from
Indeed, it was "lastfile". Thanks. I had not realized this was so recent a
change, I just found it while grepping "AVERROR(E".
The patch changes:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x13b57a0] Could not find codec parameters (Audio: none, 0 channels)
/tmp/lastfile.mov: could not find codec parameters
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x13b57a0] error reading header: -1
/tmp/lastfile.mov: Operation not permitted
The latter is more correct, I believe.
The "openration not permitted" is the usual mistranslation of -1 as an error
code: mov is very sloppy about return values, but I do not know enough of
the format to start fixing it now.
I will push the change in a few moments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel