diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 07:45:51 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:14 -0300 |
commit | 626535f6a169e2d821b969e0ea77125ba7482113 (patch) | |
tree | bfab6bbc7157ec5163ed8ae3bf3978f74f4fdd3e /tests/api/api-h264-test.c | |
parent | 14fa0a4efbc989619860ed8ec0fd33dcdae558b0 (diff) | |
download | ffmpeg-626535f6a169e2d821b969e0ea77125ba7482113.tar.gz |
avcodec/codec, allcodecs: Constify the AVCodec API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/api/api-h264-test.c')
-rw-r--r-- | tests/api/api-h264-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/api-h264-test.c b/tests/api/api-h264-test.c index 6f13e773f9..b9230c65cb 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; |