summaryrefslogtreecommitdiffstats
path: root/demux/stheader.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-25 01:56:51 +0200
committerwm4 <wm4@nowhere>2014-09-25 01:56:51 +0200
commit9c3c199558eff0413636cdc877c13b89007d85a9 (patch)
treecf9d6c3eae2d9214776c1269a69e73ba65a938be /demux/stheader.h
parentfd7dde404d95f9c7f703917578111317d4ab85cd (diff)
downloadmpv-9c3c199558eff0413636cdc877c13b89007d85a9.tar.bz2
mpv-9c3c199558eff0413636cdc877c13b89007d85a9.tar.xz
audio: remove WAVEFORMATEX from internal demuxer API
Same as with the previous commit. A bit more involved due to how the code is written.
Diffstat (limited to 'demux/stheader.h')
-rw-r--r--demux/stheader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/demux/stheader.h b/demux/stheader.h
index a368074d99..a7d1318ff6 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -69,9 +69,8 @@ typedef struct sh_audio {
struct mp_chmap channels;
bool force_channels;
int bitrate; // compressed bits/sec
- // win32-compatible codec parameters:
- MP_WAVEFORMATEX *wf;
- // note codec extradata may be either under "wf" or "codecdata"
+ int block_align;
+ int bits_per_coded_sample;
unsigned char *codecdata;
int codecdata_len;
struct replaygain_data *replaygain_data;