Commit 525a7d9b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '48d17ee6'

* commit '48d17ee6':
  api-example: remove an unneeded call to avcodec_get_frame_defaults().
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0506cc2c 48d17ee6
......@@ -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) {
......
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