OSDN Git Service

ffprobe: tweak error message in open_input_file()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 13 Mar 2011 20:22:59 +0000 (21:22 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 12 May 2011 11:03:10 +0000 (13:03 +0200)
Replace "codec (id=%d)" with "codec with id %d", slightly more
readable.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
ffprobe.c

index 6e26c11..b5d19f0 100644 (file)
--- 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",