Mercurial > libavcodec.hg
diff libtheoraenc.c @ 9952:4b3abcad0628 libavcodec
Fix "warning: assignment discards qualifiers from pointer target type"
| author | conrad |
|---|---|
| date | Mon, 13 Jul 2009 01:59:48 +0000 |
| parents | 702e111de423 |
| children | dfb91c11fe9c |
line wrap: on
line diff
--- a/libtheoraenc.c Mon Jul 13 01:59:45 2009 +0000 +++ b/libtheoraenc.c Mon Jul 13 01:59:48 2009 +0000 @@ -47,7 +47,7 @@ */ static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context, const ogg_packet* packet) { - char* message = NULL; + const char* message = NULL; uint8_t* newdata = NULL; int newsize = avc_context->extradata_size + 2 + packet->bytes;
