summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-29 00:47:35 +0100
committerwm4 <wm4@nowhere>2012-10-30 19:50:24 +0100
commit6367ade0b069f1d9a646694a1420cb0363f2c585 (patch)
treef69ebf9f5cc912f845f28b3b9a38d185a399d220 /mplayer.c
parent5f236b3a82c5f4b222ee3a8bfb75f84799dd6d65 (diff)
downloadmpv-6367ade0b069f1d9a646694a1420cb0363f2c585.tar.bz2
mpv-6367ade0b069f1d9a646694a1420cb0363f2c585.tar.xz
demux_lavf, ad_ffmpeg: don't change AVCodecContext.block_align
If block_align was 0, demux_lavf changed it to 1. This breaks at least decoding of IMA ADPCM in LVF. Pass it through without changing instead. (nBlockAlign as set in demux_lavf is put back into lavc's block_align in ad_ffmpeg.) This reverts 296f360f82e5. This commit gives no explanation why it does things the way it does. But since nothing in mpv uses nBlockAlign anymore except ad_ffmpeg, this is probably safe.
Diffstat (limited to 'mplayer.c')
0 files changed, 0 insertions, 0 deletions