mirror of https://git.ffmpeg.org/ffmpeg.git
Fix "warning: assignment discards qualifiers from pointer target type"
Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
870ee6f715
commit
3e962f315b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue