summaryrefslogtreecommitdiff
path: root/tests/api/api-seek-test.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 07:45:51 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:14 -0300
commit626535f6a169e2d821b969e0ea77125ba7482113 (patch)
treebfab6bbc7157ec5163ed8ae3bf3978f74f4fdd3e /tests/api/api-seek-test.c
parent14fa0a4efbc989619860ed8ec0fd33dcdae558b0 (diff)
avcodec/codec, allcodecs: Constify the AVCodec API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/api/api-seek-test.c')
-rw-r--r--tests/api/api-seek-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/api-seek-test.c b/tests/api/api-seek-test.c
index bb9f5c89b3..696af9cdfc 100644
--- a/tests/api/api-seek-test.c
+++ b/tests/api/api-seek-test.c
@@ -184,7 +184,7 @@ static long int read_seek_range(const char *string_with_number)
static int seek_test(const char *input_filename, const char *start, const char *end)
{
- AVCodec *codec = NULL;
+ const AVCodec *codec = NULL;
AVCodecContext *ctx= NULL;
AVCodecParameters *origin_par = NULL;
AVPacket *pkt = NULL;