diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-28 22:00:45 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-28 22:00:45 +0000 |
commit | 57783b07a0000aaa7509eafa72664cec54750b71 (patch) | |
tree | 6ba1be8b395831fd7f71f2681faaa7be3e4f805b /libavformat/mpegenc.c | |
parent | 659094cb6b1207810d70049f4abaa4b4b8ff4cc0 (diff) | |
download | ffmpeg-57783b07a0000aaa7509eafa72664cec54750b71.tar.gz |
use av_fifo_generic_write, old func is deprecated
Originally committed as revision 13511 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index f86143a5d2..09561a9ce8 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -1180,7 +1180,7 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt) } } - av_fifo_write(&stream->fifo, buf, size); + av_fifo_generic_write(&stream->fifo, buf, size, NULL); for(;;){ int ret= output_packet(ctx, 0); |