[FFmpeg-cvslog] h264 Fix: "warning: assigning to 'uint8_t *' (aka 'unsigned char *') from ' const uint8_t *' (aka 'const unsigned char *') discards qualifiers"
Michael Niedermayer
git at videolan.org
Wed Mar 7 01:00:15 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 7 00:33:55 2012 +0100| [5e6514e24fc3029ac2d1e133fd018a3f3ac2bfdf] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5e6514e24fc3029ac2d1e133fd018a3f3ac2bfdf
---
libavcodec/h264.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index fd91429..7f09154 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;
More information about the ffmpeg-cvslog
mailing list