Skip to content
Snippets Groups Projects
Commit 44cc1936 authored by Oana Stratulat's avatar Oana Stratulat Committed by Michael Niedermayer
Browse files

ffmpeg: Fix segfault with zzufed 4xm file.

Fixes ticket 885

Signed-off-by: default avatarOana Stratulat <oanaandreeastratulat@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 6a56f4e6
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment