[vlc-commits] codec: mediacodec: constify csd

Francois Cartegnie git at videolan.org
Thu Sep 22 11:57:36 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep 22 11:54:09 2016 +0200| [09f0ed8de46951f9e0106b26305a90f036570d93] | committer: Francois Cartegnie

codec: mediacodec: constify csd

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09f0ed8de46951f9e0106b26305a90f036570d93
---

 modules/codec/omxil/mediacodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 563d91d..285a395 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -54,7 +54,7 @@
 /* Codec Specific Data */
 struct csd
 {
-    uint8_t *p_buf;
+    const uint8_t *p_buf;
     size_t i_size;
 };
 



More information about the vlc-commits mailing list