[vlc-commits] videotoolbox: missing const
Francois Cartegnie
git at videolan.org
Thu Oct 13 19:23:43 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 13 13:39:21 2016 +0200| [95d54c95b7f56f6bdae4ab54713375b161f97bf5] | committer: Francois Cartegnie
videotoolbox: missing const
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=95d54c95b7f56f6bdae4ab54713375b161f97bf5
---
modules/codec/videotoolbox.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index ef4ff44..e18bc8b 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -377,7 +377,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
}
size_t i_buf;
- uint8_t *p_buf = NULL;
+ const uint8_t *p_buf = NULL;
uint8_t *p_alloc_buf = NULL;
int i_ret = 0;
More information about the vlc-commits
mailing list