diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-25 13:41:13 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-06-26 21:34:04 +0300 |
commit | 4a081f224e12f4227ae966bcbdd5384f22121ecf (patch) | |
tree | 97ed19adc4162d01aacb44d835e2f2dcabf8ee6f | |
parent | 02c2761973dfc886e94a60a9c7d6d30c296d5b8c (diff) | |
download | ffmpeg-4a081f224e12f4227ae966bcbdd5384f22121ecf.tar.gz |
libavcodec: fix constness in clobber test avcodec_open2() wrappers
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavcodec/aarch64/neontest.c | 2 | ||||
-rw-r--r-- | libavcodec/arm/neontest.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/w64xmmtest.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aarch64/neontest.c b/libavcodec/aarch64/neontest.c index 041482913f..137c8e6511 100644 --- a/libavcodec/aarch64/neontest.c +++ b/libavcodec/aarch64/neontest.c @@ -23,7 +23,7 @@ #include "libavutil/aarch64/neontest.h" wrap(avcodec_open2(AVCodecContext *avctx, - AVCodec *codec, + const AVCodec *codec, AVDictionary **options)) { testneonclobbers(avcodec_open2, avctx, codec, options); diff --git a/libavcodec/arm/neontest.c b/libavcodec/arm/neontest.c index b77bcd7223..692576ee45 100644 --- a/libavcodec/arm/neontest.c +++ b/libavcodec/arm/neontest.c @@ -23,7 +23,7 @@ #include "libavutil/arm/neontest.h" wrap(avcodec_open2(AVCodecContext *avctx, - AVCodec *codec, + const AVCodec *codec, AVDictionary **options)) { testneonclobbers(avcodec_open2, avctx, codec, options); diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c index 2f064cad7b..400dc4df30 100644 --- a/libavcodec/x86/w64xmmtest.c +++ b/libavcodec/x86/w64xmmtest.c @@ -23,7 +23,7 @@ #include "libavutil/x86/w64xmmtest.h" wrap(avcodec_open2(AVCodecContext *avctx, - AVCodec *codec, + const AVCodec *codec, AVDictionary **options)) { testxmmclobbers(avcodec_open2, avctx, codec, options); |