diff options
author | wm4 <wm4@nowhere> | 2014-09-25 01:56:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-25 01:56:51 +0200 |
commit | 9c3c199558eff0413636cdc877c13b89007d85a9 (patch) | |
tree | cf9d6c3eae2d9214776c1269a69e73ba65a938be /demux/demux_lavf.c | |
parent | fd7dde404d95f9c7f703917578111317d4ab85cd (diff) | |
download | mpv-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/demux_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 750f0f09f3..578e061d46 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -460,7 +460,7 @@ static void handle_stream(demuxer_t *demuxer, int i) sh->format = codec->codec_tag; // probably unneeded - mp_chmap_from_channels(&sh_audio->channels, codec->channels); + mp_chmap_set_unknown(&sh_audio->channels, codec->channels); if (codec->channel_layout) mp_chmap_from_lavc(&sh_audio->channels, codec->channel_layout); sh_audio->samplerate = codec->sample_rate; |