changeset 3009:9fefe2df6756 libavformat

Remove incorrect cast found by -Wwrite-strings.
author michael
date Mon, 04 Feb 2008 01:04:27 +0000
parents 6eaceb561ae9
children 0718b931314a
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Mon Feb 04 01:01:52 2008 +0000
+++ b/matroskadec.c	Mon Feb 04 01:04:27 2008 +0000
@@ -2234,7 +2234,7 @@
                     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);