summaryrefslogtreecommitdiff
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-13 10:16:38 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-09-13 22:19:45 +0200
commit51fa6538297f26f27a8ea1d9c0c3016f42ee7ecf (patch)
treef1be7225a29e34297b33a12f86a6c095283d5bc0 /doc/examples/decoding_encoding.c
parentbcf93f78a55e5ee9731d1930c67a1fff690594e1 (diff)
examples/decoding_encoding: clarify operations in the usage message
Diffstat (limited to 'doc/examples/decoding_encoding.c')
-rw-r--r--doc/examples/decoding_encoding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index 7dda74021c..e5372a15ef 100644
--- a/doc/examples/decoding_encoding.c
+++ b/doc/examples/decoding_encoding.c
@@ -608,6 +608,9 @@ int main(int argc, char **argv)
if (argc < 2) {
printf("usage: %s output_type\n"
"API example program to decode/encode a media stream with libavcodec.\n"
+ "This program generates a synthetic stream and encodes it to a file\n"
+ "named test.h264, test.mp2 or test.mpg depending on output_type.\n"
+ "The encoded stream is then decoded and written to a raw data output\n."
"output_type must be choosen between 'h264', 'mp2', 'mpg'\n",
argv[0]);
return 1;