Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-12 03:19:49 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-12-12 03:19:53 +0400
commit525a7d9b78683ce0e44a97283eb7ed23d36ae688 (patch)
tree728318757d8db1a12a7d890bd8e982e0b23a7798 /doc/examples
parent0506cc2cc3e95b280609fe4e4c3b96e839e37d57 (diff)
parent48d17ee6dc2b2a552f645484f200c2946bf24607 (diff)
Merge commit '48d17ee6dc2b2a552f645484f200c2946bf24607'
* commit '48d17ee6dc2b2a552f645484f200c2946bf24607': api-example: remove an unneeded call to avcodec_get_frame_defaults(). Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/decoding_encoding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index 9b20c020a5..8bfc30f43a 100644
--- a/doc/examples/decoding_encoding.c
+++ b/doc/examples/decoding_encoding.c
@@ -291,8 +291,7 @@ static void audio_decode_example(const char *outfilename, const char *filename)
fprintf(stderr, "Could not allocate audio frame\n");
exit(1);
}
- } else
- avcodec_get_frame_defaults(decoded_frame);
+ }
len = avcodec_decode_audio4(c, decoded_frame, &got_frame, &avpkt);
if (len < 0) {