Merge commit '5a82ad644f281701eb22e0359fd732fac67aafa4'
* commit '5a82ad644f281701eb22e0359fd732fac67aafa4': svq1dec: Unbreak the scratch buffer allocation Conflicts: libavcodec/svq1dec.c See: 4213fc5b9eebec53c7d22b770c3f1ceecca1c113 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d2f9b9da03
@ -636,7 +636,8 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
av_fast_padded_malloc(&s->pkt_swapped, &s->pkt_swapped_allocated,
|
av_fast_padded_malloc(&s->pkt_swapped,
|
||||||
|
&s->pkt_swapped_allocated,
|
||||||
buf_size);
|
buf_size);
|
||||||
if (!s->pkt_swapped)
|
if (!s->pkt_swapped)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user