diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-07 00:33:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-07 00:33:55 +0100 |
commit | 5e6514e24fc3029ac2d1e133fd018a3f3ac2bfdf (patch) | |
tree | c97c5831d24142eee5ea5e69cda93b4aff1ef352 /libavcodec | |
parent | 902bdf706f63f40607af956e05bd6f1d14dee3f8 (diff) | |
download | ffmpeg-5e6514e24fc3029ac2d1e133fd018a3f3ac2bfdf.tar.gz |
h264 Fix: "warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index fd9142918e..7f09154128 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3791,7 +3791,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ int consumed; int dst_length; int bit_length; - uint8_t *ptr; + const uint8_t *ptr; int i, nalsize = 0; int err; |