[FFmpeg-devel,2/2] doc/examples/decode_video: add input file format information for usage

Submitted by Steven Liu on Aug. 21, 2019, 11:34 a.m.

Details

Message ID 20190821113449.33190-1-lq@chinaffmpeg.org
State Accepted
Commit 6d1009cb9d888996c544a3ee95245b0df44bb2e0
Headers show

Commit Message

Steven Liu Aug. 21, 2019, 11:34 a.m.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 doc/examples/decode_video.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c
index 5a9d43f689..169188a4b9 100644
--- a/doc/examples/decode_video.c
+++ b/doc/examples/decode_video.c
@@ -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];