summaryrefslogtreecommitdiff
path: root/tests/api/api-seek-test.c
Commit message (Collapse)AuthorAge
* avcodec/codec, allcodecs: Constify the AVCodec APIAndreas Rheinhardt2021-04-27
| | | | | 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-01
|
* Remove unnecessary use of avcodec_close().Anton Khirnov2020-06-10
| | | | | Replace it with avcodec_free_context() or drop it completely as appropriate.
* lav*,tests: remove several register_all callsJosh de Kock2018-04-02
| | | | | | | 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-23
| | | | | 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-12
| | | | | 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-12
| | | | | | | 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-12
| | | | | 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-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Silence compiler warnings about uninitialized variablesMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Fix use of uinitialized valueMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c'Hendrik Leppkes2016-10-07
| | | | | | | * commit 'beb62dac629603eb074a44c44389c230b5caac7c': Use AVFrame.pts instead of deprecated pkt_pts. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10
| | | | | | | | | | | | | | | | * 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-27
|
* api-seek-test: first versionLudmila Glinskih2015-08-20
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>