summaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-08-21 19:34:49 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-08-26 11:09:13 +0800
commit6d1009cb9d888996c544a3ee95245b0df44bb2e0 (patch)
tree2ff56caff5eed52bcb1ee0a10b34b7b972a1899e /doc/examples
parent7c2ff06b6e6aee9ddb6f4e4bddb1fa5f2ccc1885 (diff)
downloadffmpeg-streaming-6d1009cb9d888996c544a3ee95245b0df44bb2e0.zip
ffmpeg-streaming-6d1009cb9d888996c544a3ee95245b0df44bb2e0.tar.gz
doc/examples/decode_video: add input file format information for usage
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/decode_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c
index 5a9d43f..169188a 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];
OpenPOWER on IntegriCloud