aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/libopenmpt.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/libopenmpt: Query duration and metadata after selecting subsongJörn Heusipp2017-09-241-8/+9
| | | | | | | | | | | | | | Duration depends on the selected subsong and thus must be queried after selecting the subsong. There is no compelling reason to query other metadata earlier either. Tested with libopenmpt version: 0.2.8760-beta27 Libopenmpt configure options: --without-ogg --without-vorbis --without-vorbisfile --without-portaudio --without-portaudiocpp --without-mpg123 --without-pulseaudio --without-sndfile --without-flac Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de> Signed-off-by: Josh de Kock <josh@itanimul.li>
* avformat/libopenmpt: Check for avio_size() failureMichael Niedermayer2017-03-301-1/+1
| | | | | | Fixes CID1396850 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libopenmpt: add missing avio_read return value checkAndreas Cadhalpun2017-01-161-0/+5
| | | | | | | | | This fixes heap-buffer-overflows in libopenmpt caused by interpreting the negative size value as unsigned size_t. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Reviewed-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libopenmpt: Add "date" to metadata.Jörn Heusipp2016-07-211-0/+1
| | | | | Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de> Signed-off-by: Josh de Kock <josh@itanimul.li>
* libopenmpt: set stream duration and fix time baseJörn Heusipp2016-07-211-3/+4
| | | | | | | | | Fix the confusion around the used time base. Check size returned from avio_size() Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de> Signed-off-by: Josh de Kock <josh@itanimul.li>
* libopenmpt: add subsong supportJosh de Kock2016-07-211-3/+27
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* libavformat/libopenmpt: Fix memory leak in error path in read_header_openmpt().Jörn Heusipp2016-07-171-1/+5
| | | | | Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf: add libopenmpt demuxerJosh de Kock2016-07-151-0/+176
Fixes ticket #5623 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>