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
pull/126/head
Diego Biurrun 16 years ago
parent d526105f08
commit 6bab479955
  1. 2
      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;

Loading…
Cancel
Save