]> git.sesse.net Git - ffmpeg/blobdiff - tests/api/api-seek-test.c
avcodec/codec, allcodecs: Constify the AVCodec API
[ffmpeg] / tests / api / api-seek-test.c
index bb9f5c89b36df64de88b0f1f87a792371ca6ae6b..696af9cdfc8aac604bb9f5c1d150221f23907740 100644 (file)
@@ -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;