Make av_open_input_file() return AVERROR_INVALIDDATA rather than
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 21 Mar 2010 16:34:04 +0000 (16:34 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 21 Mar 2010 16:34:04 +0000 (16:34 +0000)
commit2928b83c7581ef3d66108684a2e6f07f5d049b50
tree283a503679bd55a3cf4bdb906e3faf710cb65b7a
parente4445e9c788e15af50616a42106209a9dca60e96
Make av_open_input_file() return AVERROR_INVALIDDATA rather than
AVERROR_NOFMT if the format is unknown / cannot be recognized.

It is returned AVERROR_INVALIDDATA, in the sense that the data is
invalid within what the specific libav* binary supports.

That was the last remaining use of AVERROR_NOFMT, which is going to be
dropped at the next libavutil major bump.

Originally committed as revision 22625 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c