aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alffmpeg.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-03 02:01:52 -0700
committerChris Robinson <[email protected]>2012-10-03 02:01:52 -0700
commit29b11db13f838afcef06851bfef530d247b31d41 (patch)
tree0c98c9f40223a28c9ff5421e5050866dbcdd5887 /examples/alffmpeg.h
parentdca6254b35bb1dc06e42fdf08443a9683e716058 (diff)
Update the example to use avcodec_decode_audio4
Diffstat (limited to 'examples/alffmpeg.h')
-rw-r--r--examples/alffmpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alffmpeg.h b/examples/alffmpeg.h
index 7fa88e65..27e49ab4 100644
--- a/examples/alffmpeg.h
+++ b/examples/alffmpeg.h
@@ -44,7 +44,7 @@ int getAVAudioInfo(StreamPtr stream, ALuint *rate, ALenum *channels, ALenum *typ
* from a previously-decoded packet is dropped. The size (in bytes) of the
* returned data buffer is stored in 'length', and the returned pointer is only
* valid until the next call to getAVAudioData or readAVAudioData. */
-void *getAVAudioData(StreamPtr stream, size_t *length);
+uint8_t *getAVAudioData(StreamPtr stream, size_t *length);
/* The "meat" function. Decodes audio and writes, at most, length bytes into
* the provided data buffer. Will only return less for end-of-stream or error