diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 01:04:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 01:04:27 +0000 |
commit | 37e4979a2cb6a21a5571a470f207ba09e6d55bf4 (patch) | |
tree | 619affcf04fa3c5d86af13b4d79dc47b7ca1af6d /libavformat/matroskadec.c | |
parent | 8df94c73dc3b2f0fea6b83ca64d726423df841d5 (diff) | |
download | ffmpeg-37e4979a2cb6a21a5571a470f207ba09e6d55bf4.tar.gz |
Remove incorrect cast found by -Wwrite-strings.
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |