X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Fapi%2Fapi-band-test.c;h=b00e2927a98ff3ecf9a3752454accc9e2a3e844a;hb=626535f6a169e2d821b969e0ea77125ba7482113;hp=717c9441a4b39e44c2b64b261393e3c96c6f71d0;hpb=14fa0a4efbc989619860ed8ec0fd33dcdae558b0;p=ffmpeg diff --git a/tests/api/api-band-test.c b/tests/api/api-band-test.c index 717c9441a4b..b00e2927a98 100644 --- a/tests/api/api-band-test.c +++ b/tests/api/api-band-test.c @@ -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;