From 6bab47995503d1a0320e26d797567ecd28bffad3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 8 Feb 2009 03:44:54 +0000 Subject: [PATCH] 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 Originally committed as revision 17036 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/swfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 7aead8562c..b433f6b713 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -436,7 +436,7 @@ static int swf_write_video(AVFormatContext *s, } 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;