aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avs2_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/avs2_parser: Assert init_get_bits8() success with const size 15Michael Niedermayer2024-05-031-1/+3
| | | | | | | Fixes: CID1506708 Unchecked return value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: remove FF_API_AVCTX_TIMEBASEJames Almer2023-02-091-2/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/avs2_parser: parse more infoZhao Zhili2022-06-241-0/+105
| | | | | | Including video resolution, framerate and picture type, etc. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/avs2_parser: split data into framesZhao Zhili2022-06-241-2/+2
| | | | | | Before the patch, the parser split data into units, not frames. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/avs2: add AVS2 related definitionsZhao Zhili2022-06-241-5/+1
| | | | | | Replace magic numbers by enum values. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec: Move all AVCodecParser.split functions to remove_extradata_bsfAndreas Rheinhardt2021-04-271-1/+0
| | | | | | | The remove_extradata bsf is the only user of these functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* 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>
* lavc/avs2_parser.c: optimize code stylehwren2020-10-061-3/+3
| | | | Signed-off-by: hwren <hwrenx@126.com>
* lavc/avs2_parser.c,lavf/davs2.c: add AVS2_* prefixhwren2020-10-061-5/+5
| | | | | | Add AVS2_* prefix to macro definitions to avoid confusion Signed-off-by: hwren <hwrenx@126.com>
* avs2: correct avs2 descriptionhwren2018-08-081-1/+1
| | | | | Signed-off-by: hwren <hwrenx@126.com> Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
* avcodec: add missing files missed in previous commitsJames Almer2018-07-271-0/+95
Fixes compilation. Signed-off-by: James Almer <jamrial@gmail.com>