error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 10 Apr 2011 22:52:04 +0000 (00:52 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 21 Apr 2011 05:10:16 +0000 (07:10 +0200)
commit58f8463947e56dc448baeeabd7875ea90bdb4a98
treef78a93a91907481edf977ce14e42bb058ffa9272
parentf83acb096c0ea1ec181941c141d1ab6fb24820eb
error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c

The new error code is better than AVERROR(ENOENT), which has a
completely different semantics ("No such file or directory").

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/error.c
libavutil/error.h
libavutil/opt.c