aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opus_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Constify all the AVCodecParsersAndreas Rheinhardt2021-04-271-1/+1
| | | | | | | Possible now that the next pointer no longer exists. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Revert "avcodec/opus_parser: Handle complete frames flag."James Almer2018-08-231-17/+12
| | | | | | | | This reverts commit 7e0df5910ec0f107cd0700d6b9359d29177f1933. "complete frames" containers, even if they don't need to assemble packets, still depended on this code for proper packet duration and timestamp generation.
* avcodec/opus_parser: Handle complete frames flag.Jacob Trimble2018-08-211-12/+17
| | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/opus_parser: Check payload_len in parse_opus_ts_header()Michael Niedermayer2018-01-081-3/+13
| | | | | | | | Fixes: clusterfuzz-testcase-minimized-6134545979277312 Fixes: crbug 797469 Reported-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* opus_parser: make ParseContext the first element in OpusParseContextAndreas Cadhalpun2016-12-101-1/+1
| | | | | | | | ff_parse_close expects priv_data to be the ParseContext directly and thus doesn't work if it isn't at the beginning of OpusParseContext. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* Merge commit '9cfa68c560bdec82d2d5ec079f9c5b0f9ca37af0'Michael Niedermayer2014-12-201-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '9cfa68c560bdec82d2d5ec079f9c5b0f9ca37af0': mpegts: add support for Opus Conflicts: libavcodec/opus_parser.c libavformat/mpegts.c See: 74141f693ded2fbf75af56fff309d2db35183635 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegts: add support for OpusKieran Kunhya2014-12-201-13/+126
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec: Add support for Opus in MPEG-TSKieran Kunhya2014-10-261-13/+126
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222'Michael Niedermayer2014-05-151-4/+4
|/ | | | | | | | | | | | | | | | | * commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222': lavc: add a native Opus decoder. Conflicts: Changelog configure libavcodec/version.h Fate tests pass with both avresample as well as swresample based opus decoder, but are disabled (reference files are very large so i want to think a day or 2 about if theres an alternative or if they could be avoided, they also dont match the official samples) Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: add a native Opus decoder.Anton Khirnov2014-05-151-0/+75
Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during GSoC 2012. Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the Mozilla Corporation. Further contributions by: Christophe Gisquet <christophe.gisquet@gmail.com> Janne Grunau <janne-libav@jannau.net> Luca Barbato <lu_zero@gentoo.org>