From 37e4979a2cb6a21a5571a470f207ba09e6d55bf4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Feb 2008 01:04:27 +0000 Subject: [PATCH] Remove incorrect cast found by -Wwrite-strings. Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index d96b36edf8..d9fdcec283 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2234,7 +2234,7 @@ matroska_read_header (AVFormatContext *s, 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);