aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-seek-test.c
Commit message (Collapse)AuthorAgeFilesLines
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-311-0/+1
| | | | | | | | | | | There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/api: use AVFrame.duration instead of AVFrame.pkt_durationAnton Khirnov2022-07-191-1/+1
|
* avcodec/codec, allcodecs: Constify the AVCodec APIAndreas Rheinhardt2021-04-271-1/+1
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* api-seek-test: use non-obsolete decoding APIAnton Khirnov2021-01-011-42/+62
|
* Remove unnecessary use of avcodec_close().Anton Khirnov2020-06-101-1/+0
| | | | | Replace it with avcodec_free_context() or drop it completely as appropriate.
* lav*,tests: remove several register_all callsJosh de Kock2018-04-021-2/+0
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* tests: do not use AVFrame accessorMuhammad Faiz2017-04-231-1/+1
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* tests/api-seek: fix memory leak on realloc() failureJames Almer2017-03-121-2/+2
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* test/api-seek: clean up properly on failureJames Almer2017-03-121-12/+19
| | | | | | | Also propagate better error values. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* tests/api-seek: make the crc array uint32_tJames Almer2017-03-121-8/+9
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* tests/api/api-seek-test: check all compute_crc_of_packets() callsMichael Niedermayer2016-12-061-4/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Silence compiler warnings about uninitialized variablesMichael Niedermayer2016-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Fix use of uinitialized valueMichael Niedermayer2016-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c'Hendrik Leppkes2016-10-071-5/+5
| | | | | | | * commit 'beb62dac629603eb074a44c44389c230b5caac7c': Use AVFrame.pts instead of deprecated pkt_pts. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-101-4/+5
| | | | | | | | | | | | | | | | * 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 remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-271-2/+2
|
* api-seek-test: first versionLudmila Glinskih2015-08-201-0/+278
Works only with video stream. First pass without seeking -- counts crcs of a frames and store it in an array. After that it seeks a lot in different places and checks if crcs of these frames and crcs of frames in array are the same. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>