[FFmpeg-cvslog] r11848 - trunk/libavformat/matroskadec.c
michael
subversion
Mon Feb 4 02:04:28 CET 2008
Author: michael
Date: Mon Feb 4 02:04:27 2008
New Revision: 11848
Log:
Remove incorrect cast found by -Wwrite-strings.
Modified:
trunk/libavformat/matroskadec.c
Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c (original)
+++ trunk/libavformat/matroskadec.c Mon Feb 4 02:04:27 2008
@@ -2234,7 +2234,7 @@ matroska_read_header (AVFormatContext
return AVERROR(ENOMEM);
init_put_byte(&b, extradata, extradata_size, 1,
NULL, NULL, NULL, NULL);
- put_buffer(&b, (uint8_t *) "TTA1", 4);
+ put_buffer(&b, "TTA1", 4);
put_le16(&b, 1);
put_le16(&b, audiotrack->channels);
put_le16(&b, audiotrack->bitdepth);
More information about the ffmpeg-cvslog
mailing list