mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fail if stream fifo could not be allocated
Originally committed as revision 18897 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f2a875db87
commit
4969cc0bd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user