summaryrefslogtreecommitdiff
path: root/libavformat/dtshddec.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/dtshddec: also read trailing padding in samplesPaul B Mahol2023-01-161-2/+5
|
* dtshddec: convert to new channel layout APIAnton Khirnov2022-03-151-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: Avoid allocation for AVStreamInternalAndreas Rheinhardt2021-09-171-1/+1
| | | | | | | | | | Do this by allocating AVStream together with the data that is currently in AVStreamInternal; or rather: Put AVStream at the beginning of a new structure called FFStream (which encompasses more than just the internal fields and is a proper context in its own right, hence the name) and remove AVStreamInternal altogether. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat: move AVStream.{parser,need_parsing} to AVStreamInternalJames Almer2021-05-071-1/+1
| | | | | | | Those are private fields, no reason to have them exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: Constify all muxer/demuxersAndreas Rheinhardt2021-04-271-1/+1
| | | | | | | 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>
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-211-1/+1
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* Merge commit '83548fe894cdb455cc127f754d09905b6d23c173'James Almer2017-03-211-1/+1
| | | | | | | * commit '83548fe894cdb455cc127f754d09905b6d23c173': lavf: fix usage of AVIOContext.seekable Merged-by: James Almer <jamrial@gmail.com>
* avformat/dtshddec: move data_start outside of DTSHDDemuxContextJames Almer2016-05-191-5/+4
| | | | | | It's only used in dtshd_read_header() Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dtshddec: implement AUPR_HDR chunk parsingJames Almer2016-05-161-1/+23
| | | | | | | Use it to get stream duration, sample rate, channel count and initial padding Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dtshddec: parse chunks stored after audio dataJames Almer2016-05-161-4/+16
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-101-3/+3
| | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* replace calls to url_feof() with avio_feof()James Almer2014-08-081-1/+1
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dtshd: fix seekingPaul B Mahol2012-10-101-6/+8
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* dtshd: remove redundant/wrong avio_tell()Paul B Mahol2012-10-101-1/+0
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* DTS-HD demuxerPaul B Mahol2012-10-091-0/+138
Signed-off-by: Paul B Mahol <onemda@gmail.com>