mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-04 07:18:36 +08:00
Remove incorrect cast found by -Wwrite-strings.
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -2234,7 +2234,7 @@ matroska_read_header (AVFormatContext *s,
|
|||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
init_put_byte(&b, extradata, extradata_size, 1,
|
init_put_byte(&b, extradata, extradata_size, 1,
|
||||||
NULL, NULL, NULL, NULL);
|
NULL, NULL, NULL, NULL);
|
||||||
put_buffer(&b, (uint8_t *) "TTA1", 4);
|
put_buffer(&b, "TTA1", 4);
|
||||||
put_le16(&b, 1);
|
put_le16(&b, 1);
|
||||||
put_le16(&b, audiotrack->channels);
|
put_le16(&b, audiotrack->channels);
|
||||||
put_le16(&b, audiotrack->bitdepth);
|
put_le16(&b, audiotrack->bitdepth);
|
||||||
|
Reference in New Issue
Block a user