aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-07-13 01:59:48 +0000
committerDavid Conrad <lessen42@gmail.com>2009-07-13 01:59:48 +0000
commit3e962f315b90dc99a49f8b293a24ed15cd105a26 (patch)
treec7e5dc49484760e0779dfd423e11743ea6fb788f
parent870ee6f71579f2f3f20dee93d6246d12871c280d (diff)
downloadffmpeg-3e962f315b90dc99a49f8b293a24ed15cd105a26.tar.gz
Fix "warning: assignment discards qualifiers from pointer target type"
Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/libtheoraenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c
index 04b8812882..9da0d19944 100644
--- a/libavcodec/libtheoraenc.c
+++ b/libavcodec/libtheoraenc.c
@@ -47,7 +47,7 @@ typedef struct TheoraContext{
*/
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;