X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Fapi%2Fapi-h264-test.c;h=b9230c65cb11c074dd91988498216f837e30b6af;hb=626535f6a169e2d821b969e0ea77125ba7482113;hp=6f13e773f9b464a60fe7bf50a017b2332e607d55;hpb=14fa0a4efbc989619860ed8ec0fd33dcdae558b0;p=ffmpeg diff --git a/tests/api/api-h264-test.c b/tests/api/api-h264-test.c index 6f13e773f9b..b9230c65cb1 100644 --- a/tests/api/api-h264-test.c +++ b/tests/api/api-h264-test.c @@ -32,7 +32,7 @@ static int video_decode_example(const char *input_filename) { - AVCodec *codec = NULL; + const AVCodec *codec = NULL; AVCodecContext *ctx= NULL; AVCodecParameters *origin_par = NULL; AVFrame *fr = NULL;