diff options
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index cd7be899f4..b7bb69b91d 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -382,6 +382,8 @@ static int mpeg_mux_init(AVFormatContext *ctx) return -1; } stream->fifo= av_fifo_alloc(16); + if (!stream->fifo) + goto fail; } bitrate = 0; audio_bitrate = 0; |