Commit d2f9b9da authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5a82ad64'

* commit '5a82ad64':
  svq1dec: Unbreak the scratch buffer allocation

Conflicts:
	libavcodec/svq1dec.c

See: 4213fc5bMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0c773390 5a82ad64
......@@ -636,8 +636,9 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
av_fast_padded_malloc(&s->pkt_swapped, &s->pkt_swapped_allocated,
buf_size);
av_fast_padded_malloc(&s->pkt_swapped,
&s->pkt_swapped_allocated,
buf_size);
if (!s->pkt_swapped)
return AVERROR(ENOMEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment