summaryrefslogtreecommitdiff
path: root/doc/examples/filtering_audio.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-01-21 19:51:28 +0100
committerStefano Sabatini <stefasab@gmail.com>2014-01-21 20:08:36 +0100
commitb539a72bba3048ee1a14a5793114ead02bb9b2a6 (patch)
treea035e2ab1c3c985d4323974b7d88b2cc2fdae4bb /doc/examples/filtering_audio.c
parent8e5e84c2a2a21a979b48e80c5a8dd44754ab3f21 (diff)
examples/filtering_audio,video: drop call to avcodec_get_frame_defaults()
The avcodec_get_frame_defaults() function is deprecated and its use doesn't seem required.
Diffstat (limited to 'doc/examples/filtering_audio.c')
-rw-r--r--doc/examples/filtering_audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 1d66ca33e3..1568f60b29 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -230,7 +230,6 @@ int main(int argc, char **argv)
}
if (packet.stream_index == audio_stream_index) {
- avcodec_get_frame_defaults(frame);
got_frame = 0;
ret = avcodec_decode_audio4(dec_ctx, frame, &got_frame, &packet);
if (ret < 0) {