diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-11 00:29:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-21 07:10:16 +0200 |
commit | 79157f400bec7fdb6385befa63fdafc727378143 (patch) | |
tree | a3253635ed91559625375d66b73b04471733c463 /ffmpeg.c | |
parent | 58f8463947e56dc448baeeabd7875ea90bdb4a98 (diff) | |
download | ffmpeg-79157f400bec7fdb6385befa63fdafc727378143.tar.gz |
error: remove AVERROR_NUMEXPECTED
AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and
has a too much specific meaning, which is better explained through a
log message. Thus it can be replaced by AVERROR(EINVAL).
This breaks API.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3722,7 +3722,7 @@ static void opt_output_file(const char *filename) /* check filename in case of an image number is expected */ if (oc->oformat->flags & AVFMT_NEEDNUMBER) { if (!av_filename_number_test(oc->filename)) { - print_error(oc->filename, AVERROR_NUMEXPECTED); + print_error(oc->filename, AVERROR(EINVAL)); ffmpeg_exit(1); } } |