From a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 Mon Sep 17 00:00:00 2001
From: Stefan Huehner <stefan@huehner.org>
Date: Sat, 17 Jun 2006 15:53:23 +0000
Subject: Add (mostly) const to variable and parameter declaration, where a
 char* was used and 'const char*' should be, plus make some function
 declarations static if they aren't used outside their declaring source file.
 patch by Stefan Huehner stefan%%at%%huehner%%dot%%org

Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/dv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libavformat/dv.c')

diff --git a/libavformat/dv.c b/libavformat/dv.c
index bec1759202..beb94fa0a2 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -692,7 +692,7 @@ int dv_assemble_frame(DVMuxContext *c, AVStream* st,
             /* FIXME: we have to have more sensible approach than this one */
             if (fifo_size(&c->audio_data[i], c->audio_data[i].rptr) + data_size >= 100*AVCODEC_MAX_AUDIO_FRAME_SIZE)
                 av_log(st->codec, AV_LOG_ERROR, "Can't process DV frame #%d. Insufficient video data or severe sync problem.\n", c->frames);
-            fifo_write(&c->audio_data[i], (uint8_t *)data, data_size, &c->audio_data[i].wptr);
+            fifo_write(&c->audio_data[i], data, data_size, &c->audio_data[i].wptr);
         }
     }
 out:
-- 
cgit v1.2.3