diff options
author | wm4 <wm4@nowhere> | 2013-11-23 21:25:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-23 21:25:05 +0100 |
commit | e174d31fdda78374600878699ef911fd09f55a26 (patch) | |
tree | 63cd9b7023e1a198dbbea097887a16a793f2f9b5 /demux/stheader.h | |
parent | 0f5ec05d8f4ae02262dc79a895bce3b465b376f2 (diff) | |
download | mpv-e174d31fdda78374600878699ef911fd09f55a26.tar.bz2 mpv-e174d31fdda78374600878699ef911fd09f55a26.tar.xz |
audio: don't write decoded audio format to sh_audio
sh_audio is supposed to contain file headers, not whatever was decoded.
Fix this, and write the decoded format to separate fields in the decoder
context, the dec_audio.decoded field. (Note that this field is really
only needed to communicate the audio format from decoder driver to the
generic code, so no other code accesses it.)
Diffstat (limited to 'demux/stheader.h')
-rw-r--r-- | demux/stheader.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index ab190cca83..eb7c3d132b 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -87,8 +87,6 @@ struct sh_stream { typedef struct sh_audio { SH_COMMON - // output format: - int sample_format; int samplerate; struct mp_chmap channels; int i_bps; // == bitrate (compressed bytes/sec) |