You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffmpeg: Fix segfault with zzufed 4xm file.
Fixes ticket 885 Signed-off-by: Oana Stratulat <oanaandreeastratulat@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
6a56f4e634
commit
44cc1936be
4
ffmpeg.c
4
ffmpeg.c
@@ -1020,9 +1020,9 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
|
||||
InputStream *ist, AVFrame *decoded_frame)
|
||||
{
|
||||
uint8_t *buftmp;
|
||||
int64_t audio_out_size, audio_buf_size;
|
||||
int64_t audio_out_size, audio_buf_size, size_out;
|
||||
|
||||
int size_out, frame_bytes, ret, resample_changed;
|
||||
int frame_bytes, ret, resample_changed;
|
||||
AVCodecContext *enc = ost->st->codec;
|
||||
AVCodecContext *dec = ist->st->codec;
|
||||
int osize = av_get_bytes_per_sample(enc->sample_fmt);
|
||||
|
Reference in New Issue
Block a user