Browse code

ffprobe: tweak error message in open_input_file()

Replace "codec (id=%d)" with "codec with id %d", slightly more
readable.

Stefano Sabatini authored on 2011/03/14 05:22:59
Showing 1 changed files
... ...
@@ -285,7 +285,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
285 285
         AVCodec *codec;
286 286
 
287 287
         if (!(codec = avcodec_find_decoder(stream->codec->codec_id))) {
288
-            fprintf(stderr, "Unsupported codec (id=%d) for input stream %d\n",
288
+            fprintf(stderr, "Unsupported codec with id %d for input stream %d\n",
289 289
                     stream->codec->codec_id, stream->index);
290 290
         } else if (avcodec_open(stream->codec, codec) < 0) {
291 291
             fprintf(stderr, "Error while opening codec for input stream %d\n",