summaryrefslogtreecommitdiffstats
path: root/audio/decode/dec_audio.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-23 21:26:04 +0100
committerwm4 <wm4@nowhere>2013-11-23 21:26:04 +0100
commit9f4820f6ec1721dc73335cb64b5a5e63170bf379 (patch)
tree9e65f7438d444021a32997518b328654be8e0b46 /audio/decode/dec_audio.h
parent0e84dafdf084c7d9da30ef7b0e0b2ca05da68157 (diff)
downloadmpv-9f4820f6ec1721dc73335cb64b5a5e63170bf379.tar.bz2
mpv-9f4820f6ec1721dc73335cb64b5a5e63170bf379.tar.xz
audio: remove ad_driver.preinit
This never had any real use. Get rid of dec_audio.initialized too, as it's redundant.
Diffstat (limited to 'audio/decode/dec_audio.h')
-rw-r--r--audio/decode/dec_audio.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h
index be5fc44dfc..aac2bd4719 100644
--- a/audio/decode/dec_audio.h
+++ b/audio/decode/dec_audio.h
@@ -32,7 +32,6 @@ struct dec_audio {
struct sh_stream *header;
struct mp_audio_buffer *decode_buffer;
struct af_stream *afilter;
- int initialized;
char *decoder_desc;
// set by decoder
struct mp_audio decoded; // format of decoded audio (no data, temporarily
@@ -43,7 +42,7 @@ struct dec_audio {
double pts;
// number of samples output by decoder after last known pts
int pts_offset;
- // For free use by the decoder
+ // For free use by the ad_driver
void *priv;
};