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-band-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-band-test.c')
-rw-r--r-- | tests/api/api-band-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/api-band-test.c b/tests/api/api-band-test.c index 717c9441a4..b00e2927a9 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; |