changeset 4398:043d314bb216 libavformat

Remove const qualifier from function argument to eliminate the warning swfenc.c:452: warning: passing argument 2 of #av_fifo_generic_write# discards qualifiers from pointer target type
author diego
date Sun, 08 Feb 2009 03:44:54 +0000
parents 6d1626886974
children 530e55405feb
files swfenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/swfenc.c	Sun Feb 08 03:29:49 2009 +0000
+++ b/swfenc.c	Sun Feb 08 03:44:54 2009 +0000
@@ -436,7 +436,7 @@
 }
 
 static int swf_write_audio(AVFormatContext *s,
-                           AVCodecContext *enc, const uint8_t *buf, int size)
+                           AVCodecContext *enc, uint8_t *buf, int size)
 {
     SWFContext *swf = s->priv_data;