Commit fef9e841 authored by Stefano Sabatini's avatar Stefano Sabatini

examples/decoding_encoding.c: tell where the decoding output files are printed

parent 864e8adc
...@@ -242,7 +242,7 @@ static void audio_decode_example(const char *outfilename, const char *filename) ...@@ -242,7 +242,7 @@ static void audio_decode_example(const char *outfilename, const char *filename)
av_init_packet(&avpkt); 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 */ /* find the mpeg audio decoder */
codec = avcodec_find_decoder(AV_CODEC_ID_MP2); codec = avcodec_find_decoder(AV_CODEC_ID_MP2);
...@@ -491,7 +491,7 @@ static void video_decode_example(const char *outfilename, const char *filename) ...@@ -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) */ /* 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); 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 */ /* find the mpeg1 video decoder */
codec = avcodec_find_decoder(AV_CODEC_ID_MPEG1VIDEO); codec = avcodec_find_decoder(AV_CODEC_ID_MPEG1VIDEO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment