summaryrefslogtreecommitdiff
path: root/libavformat/brstm.c
Commit message (Collapse)AuthorAgeFilesLines
* brstm: fix missing closing braceAndreas Cadhalpun2016-01-281-0/+1
| | | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 1cb2331eca0dbde1bc63bc715a0e98771dda8b80) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* brstm: also allocate b->table in read_packetAndreas Cadhalpun2016-01-281-0/+4
| | | | | | | | | | This fixes NULL pointer dereferencing if the codec is forced to adpcm_thp even though a different one was detected. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit bcf4ee26a0a1ed349ec7489925540401002b87cc) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* brstm: make sure an ADPC chunk was read for adpcm_thpAndreas Cadhalpun2016-01-281-0/+5
| | | | | | | | | This fixes NULL pointer dereferencing. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit d7d37c479fa71639650751648275615e979beb33) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* replace calls to url_feof() with avio_feof()James Almer2014-08-081-2/+2
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix various typosLou Logan2014-06-031-1/+1
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc & lavf: replace deprecated av_log* functionsPaul B Mahol2013-03-151-4/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* brstm: ask for samples for version != 1.0Michael Niedermayer2012-12-161-0/+4
| | | | | | This also avoids 2 unused variable warnings. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* brstm: add missing new line to request for sample messagesPaul B Mahol2012-12-161-2/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* brstm: fix number of samples for the last blockJames Almer2012-12-161-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* brstm: do not return partial packetsPaul B Mahol2012-12-071-5/+4
| | | | | | Such packets are useless. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* BRSTM demuxerPaul B Mahol2012-11-291-0/+294
Signed-off-by: Paul B Mahol <onemda@gmail.com>