From 038566a5edc73205120f30d41233a9911a42da44 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 13 Mar 2011 21:22:59 +0100 Subject: ffprobe: tweak error message in open_input_file() Replace "codec (id=%d)" with "codec with id %d", slightly more readable. --- ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffprobe.c b/ffprobe.c index 94b1d9b2cf..d7362dd1ee 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", -- cgit v1.2.3