]> git.sesse.net Git - ffmpeg/blobdiff - tests/api/api-band-test.c
avcodec/codec, allcodecs: Constify the AVCodec API
[ffmpeg] / tests / api / api-band-test.c
index 717c9441a4b39e44c2b64b261393e3c96c6f71d0..b00e2927a98ff3ecf9a3752454accc9e2a3e844a 100644 (file)
@@ -66,7 +66,7 @@ static void draw_horiz_band(AVCodecContext *ctx, const AVFrame *fr, int offset[4
 
 static int video_decode(const char *input_filename)
 {
-    AVCodec *codec = NULL;
+    const AVCodec *codec = NULL;
     AVCodecContext *ctx= NULL;
     AVCodecParameters *origin_par = NULL;
     uint8_t *byte_buffer = NULL;