Fix "warning: assignment discards qualifiers from pointer target type"

Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
David Conrad 16 years ago
parent 870ee6f715
commit 3e962f315b
  1. 2
      libavcodec/libtheoraenc.c

@ -47,7 +47,7 @@ typedef struct TheoraContext{
*/ */
static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context, const ogg_packet* packet) 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; uint8_t* newdata = NULL;
int newsize = avc_context->extradata_size + 2 + packet->bytes; int newsize = avc_context->extradata_size + 2 + packet->bytes;

Loading…
Cancel
Save