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