aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avr.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/avr: Combine skipsAndreas Rheinhardt2024-03-261-9/+3
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avformat: Add FFInputFormat, hide internals of AVInputFormatAndreas Rheinhardt2024-03-071-5/+6
| | | | | | | | | | | | | | | | | | | | | This commit does for AVInputFormat what commit 59c9dc82f450638a3068deeb1db5c56f6d155752 did for AVOutputFormat: It adds a new type FFInputFormat, moves all the internals of AVInputFormat to it and adds a now reduced AVInputFormat as first member. This does not affect/improve extensibility of both public or private fields for demuxers (it is still a mess due to lavd). This is possible since 50f34172e0cca2cabc5836308ec66dbf93f5f2a3 (which removed the last usage of an internal field of AVInputFormat in fftools). (Hint: tools/probetest.c accesses the internals of FFInputFormat as well, but given that it is a testing tool this is not considered a problem.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avr: Check sample rateMichael Niedermayer2023-08-021-0/+3
| | | | | | | | | Fixes: 54979/clusterfuzz-testcase-minimized-ffmpeg_dem_AVR_fuzzer-6681035461230592 Fixes: Timeout Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avr: convert to new channel layout APIAnton Khirnov2022-03-151-3/+3
| | | | 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 '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-101-9/+9
| | | | | | | | | | | | | | | | * 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>
* avformat/avr: check channels and bps in probeMichael Niedermayer2013-11-111-3/+9
| | | | | | Fixes probetest failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/avr: use ff_get_pcm_codec_id()Paul B Mahol2013-10-121-10/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: replace "AVPROBE_SCORE_MAX / X" by AVPROBE_SCORE_EXTENSION / YMichael Niedermayer2013-05-051-1/+1
| | | | | | Demuxers where the changed code looked less readable where skiped Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc & lavf: replace deprecated av_log* functionsPaul B Mahol2013-03-151-2/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avr: use ff_pcm_read_packet()Paul B Mahol2012-12-051-2/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avrdec: implement seekingPaul B Mahol2012-11-281-0/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avrdec: sample rate takes 3 bytes not 4Paul B Mahol2012-11-281-1/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avrdec: fix typo in .long_namePaul B Mahol2012-11-281-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/avr: make .long_name consistent with othersPaul B Mahol2012-11-051-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* AVR demuxerPaul B Mahol2012-11-051-0/+95
Signed-off-by: Paul B Mahol <onemda@gmail.com>