[FFmpeg-cvslog] ffprobe: tweak error message in open_input_file()
Stefano Sabatini
git at videolan.org
Fri May 13 04:45:58 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sun Mar 13 21:22:59 2011 +0100| [9c3f5ef663f2f36e951945969f99776bb12a3e7a] | committer: Anton Khirnov
ffprobe: tweak error message in open_input_file()
Replace "codec (id=%d)" with "codec with id %d", slightly more
readable.
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c3f5ef663f2f36e951945969f99776bb12a3e7a
---
ffprobe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index 6e26c11..b5d19f0 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -285,7 +285,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
AVCodec *codec;
if (!(codec = avcodec_find_decoder(stream->codec->codec_id))) {
- fprintf(stderr, "Unsupported codec (id=%d) for input stream %d\n",
+ fprintf(stderr, "Unsupported codec with id %d for input stream %d\n",
stream->codec->codec_id, stream->index);
} else if (avcodec_open(stream->codec, codec) < 0) {
fprintf(stderr, "Error while opening codec for input stream %d\n",
More information about the ffmpeg-cvslog
mailing list