summaryrefslogtreecommitdiffstats
path: root/audio/decode/ad.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-19 22:24:26 +0100
committerwm4 <wm4@nowhere>2016-01-19 22:24:38 +0100
commit30031edce3bb79051a125183c8dc152ba4e78e66 (patch)
treeb041672d79d6e93423a65e33260ba13eca23695d /audio/decode/ad.h
parentc365b44e19e1ab1cdb0d2aaca5360108d6da862a (diff)
downloadmpv-30031edce3bb79051a125183c8dc152ba4e78e66.tar.bz2
mpv-30031edce3bb79051a125183c8dc152ba4e78e66.tar.xz
audio: move direct packet reading from decoders to common code
Another bit of preparation.
Diffstat (limited to 'audio/decode/ad.h')
-rw-r--r--audio/decode/ad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/decode/ad.h b/audio/decode/ad.h
index 05139549b1..771ceb7e88 100644
--- a/audio/decode/ad.h
+++ b/audio/decode/ad.h
@@ -35,7 +35,8 @@ struct ad_functions {
int (*init)(struct dec_audio *da, const char *decoder);
void (*uninit)(struct dec_audio *da);
int (*control)(struct dec_audio *da, int cmd, void *arg);
- int (*decode_packet)(struct dec_audio *da, struct mp_audio **out);
+ int (*decode_packet)(struct dec_audio *da, struct demux_packet *pkt,
+ struct mp_audio **out);
};
enum ad_ctrl {