[FFmpeg-cvslog] lavc/neontest: fix constness in arm/aarch64 avcodec_open2() wrappers

Clément Bœsch git at videolan.org
Sat Jun 25 13:45:15 CEST 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Jun 25 13:41:13 2016 +0200| [dfd0c0f981c58d913f1a7e355b6bfa49ed1d5f46] | committer: Clément Bœsch

lavc/neontest: fix constness in arm/aarch64 avcodec_open2() wrappers

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfd0c0f981c58d913f1a7e355b6bfa49ed1d5f46
---

 libavcodec/aarch64/neontest.c |    2 +-
 libavcodec/arm/neontest.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/aarch64/neontest.c b/libavcodec/aarch64/neontest.c
index 6e41f37..b1f1a6d 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 a3b5b8e..a81d14d 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);



More information about the ffmpeg-cvslog mailing list