diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-24 17:15:51 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-24 17:31:10 +0200 |
commit | fef9e84114a2369bb0065f9a3d613e0e9c59d5d5 (patch) | |
tree | ebe38d892b568638560a9097f6dbec4b647eeea0 /doc/examples/decoding_encoding.c | |
parent | 864e8adcf1310f5d0eed2a2b8018b901cadaece0 (diff) | |
download | ffmpeg-fef9e84114a2369bb0065f9a3d613e0e9c59d5d5.tar.gz |
examples/decoding_encoding.c: tell where the decoding output files are printed
Diffstat (limited to 'doc/examples/decoding_encoding.c')
-rw-r--r-- | doc/examples/decoding_encoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c index 96b1a4b315..c3e9a2933a 100644 --- a/doc/examples/decoding_encoding.c +++ b/doc/examples/decoding_encoding.c @@ -242,7 +242,7 @@ static void audio_decode_example(const char *outfilename, const char *filename) av_init_packet(&avpkt); - printf("Decode audio file %s\n", filename); + printf("Decode audio file %s to %s\n", filename, outfilename); /* find the mpeg audio decoder */ codec = avcodec_find_decoder(AV_CODEC_ID_MP2); @@ -491,7 +491,7 @@ static void video_decode_example(const char *outfilename, const char *filename) /* set end of buffer to 0 (this ensures that no overreading happens for damaged mpeg streams) */ memset(inbuf + INBUF_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE); - printf("Decode video file %s\n", filename); + printf("Decode video file %s to %s\n", filename, outfilename); /* find the mpeg1 video decoder */ codec = avcodec_find_decoder(AV_CODEC_ID_MPEG1VIDEO); |