]> git.sesse.net Git - ffmpeg/commit
avformat/apm: read header correctly
authorZane van Iperen <zane@zanevaniperen.com>
Tue, 30 Jun 2020 00:44:39 +0000 (10:44 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Sun, 19 Jul 2020 04:38:40 +0000 (14:38 +1000)
commit3bf1be210150b435c51c7c8eb8fd05a1fca08814
tree3e988a913804eda625965ae00dc5dfc8527dae55
parent68c56082d3888d7c1aba9f518ee9ad73850b7e31
avformat/apm: read header correctly

The leading WAVEFORMATEX in .APM files is malformed:
* The nAvgBytesPerSec field is wrong, and
* sizeof(cbSize) is 4 instead of 2.
libavformat/Makefile
libavformat/apm.c