]> git.sesse.net Git - ffmpeg/commitdiff
doc/examples/decode_video: add input file format information for usage
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 21 Aug 2019 11:34:49 +0000 (19:34 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Mon, 26 Aug 2019 03:09:13 +0000 (11:09 +0800)
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
doc/examples/decode_video.c

index 5a9d43f6897336cbefc88642032f03120621926d..169188a4b93d4ed5f3cacd7fb85f1931f541459a 100644 (file)
@@ -95,7 +95,8 @@ int main(int argc, char **argv)
     AVPacket *pkt;
 
     if (argc <= 2) {
-        fprintf(stderr, "Usage: %s <input file> <output file>\n", argv[0]);
+        fprintf(stderr, "Usage: %s <input file> <output file>\n"
+                "And check your input file is encoded by mpeg1video please.\n", argv[0]);
         exit(0);
     }
     filename    = argv[1];