summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/doc/examples/filtering_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/doc/examples/filtering_audio.c')
-rw-r--r--chromium/third_party/ffmpeg/doc/examples/filtering_audio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/third_party/ffmpeg/doc/examples/filtering_audio.c b/chromium/third_party/ffmpeg/doc/examples/filtering_audio.c
index 1d66ca33e34..46595fb3b8f 100644
--- a/chromium/third_party/ffmpeg/doc/examples/filtering_audio.c
+++ b/chromium/third_party/ffmpeg/doc/examples/filtering_audio.c
@@ -25,7 +25,7 @@
/**
* @file
* API example for audio decoding and filtering
- * @example doc/examples/filtering_audio.c
+ * @example filtering_audio.c
*/
#include <unistd.h>
@@ -210,7 +210,6 @@ int main(int argc, char **argv)
exit(1);
}
- avcodec_register_all();
av_register_all();
avfilter_register_all();
@@ -230,7 +229,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) {