Commit 5810e8b0 authored by Felix Abecassis's avatar Felix Abecassis

h264: kill a warning in nal_decode by making src pointer const

parent 5a487d08
...@@ -70,7 +70,7 @@ static inline int32_t bs_read_se( bs_t *s ) ...@@ -70,7 +70,7 @@ static inline int32_t bs_read_se( bs_t *s )
return val&0x01 ? (val+1)/2 : -(val/2); return val&0x01 ? (val+1)/2 : -(val/2);
} }
static inline size_t nal_decode(uint8_t * p_src, uint8_t * p_dst, size_t i_size) static inline size_t nal_decode(const uint8_t * p_src, uint8_t * p_dst, size_t i_size)
{ {
size_t j = 0; size_t j = 0;
for (size_t i = 0; i < i_size; i++) { for (size_t i = 0; i < i_size; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment