summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-11-09 06:07:06 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-10 10:33:19 +0100
commit905cdcaa9d081d3d945ce555b27b43a75c3af57b (patch)
tree8a6a4a2101c0513852d7da7c385712d94fd2d8b3 /doc
parent6a62795d4051f435a9a2c59395d96913693922f8 (diff)
examples/decode_audio: Add missing header for av_free()
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/decode_audio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c
index 647893c91f..b56a5ee7f2 100644
--- a/doc/examples/decode_audio.c
+++ b/doc/examples/decode_audio.c
@@ -29,9 +29,10 @@
#include <stdlib.h>
#include <string.h>
-#include "libavcodec/avcodec.h"
-
#include "libavutil/frame.h"
+#include "libavutil/mem.h"
+
+#include "libavcodec/avcodec.h"
#define AUDIO_INBUF_SIZE 20480
#define AUDIO_REFILL_THRESH 4096