summaryrefslogtreecommitdiff
path: root/libavformat/apm.c
Commit message (Collapse)AuthorAge
* avformat: Constify all muxer/demuxersAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apm: fix APM_FILE_HEADER_SIZE valueZane van Iperen2020-07-30
| | | | | | Value was incorrectly changed in 3bf1be210150b435c51c7c8eb8fd05a1fca08814. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avformat: add apm muxerZane van Iperen2020-07-21
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avcodec/apm: fix sample_rate checkZane van Iperen2020-07-21
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avformat/apm: fix variable/structure names and cosmeticsZane van Iperen2020-07-19
|
* avformat/apm: use the entire APMState structure as extradataZane van Iperen2020-07-19
| | | | | Is the "actual" codec extradata instead of the hand-crafted one from the previous revision.
* avformat/apm: read header correctlyZane van Iperen2020-07-19
| | | | | | The leading WAVEFORMATEX in .APM files is malformed: * The nAvgBytesPerSec field is wrong, and * sizeof(cbSize) is 4 instead of 2.
* avformat/apm: check codec tag in probe and add constantZane van Iperen2020-06-17
| | | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: add demuxer for Rayman 2's APM formatZane van Iperen2020-02-21
Adds support for the APM file format used by Ubisoft's Rayman 2. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>