Add AVERROR_*_NOT_FOUND codes.

Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Nicolas George
2010-12-19 09:01:02 +00:00
parent eb066a4ce9
commit 0bc55f5d32
4 changed files with 29 additions and 1 deletions

View File

@ -29,6 +29,14 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
case AVERROR_INVALIDDATA: errstr = "Invalid data found when processing input"; break;
case AVERROR_NUMEXPECTED: errstr = "Number syntax expected in filename"; break;
case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in FFmpeg, patches welcome"; break;
case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found"; break;
case AVERROR_MUXER_NOT_FOUND: errstr = "Muxer not found"; break;
case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found"; break;
case AVERROR_ENCODER_NOT_FOUND: errstr = "Encoder not found"; break;
case AVERROR_PROTOCOL_NOT_FOUND:errstr = "Protocol not found"; break;
case AVERROR_FILTER_NOT_FOUND: errstr = "Filter not found"; break;
case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found"; break;
case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found"; break;
}
if (errstr) {