Re: [FFmpeg-devel] [PATCH] avcodec/svq1dec: use av_malloc_array() to allocate pmv

2020-09-17 Thread Guangxin Xu
On Thu, Sep 17, 2020 at 10:00 PM Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/svq1dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c > index 25bd3d0253..ddd02f354e 100644 > ---

Re: [FFmpeg-devel] [PATCH] avcodec/svq1dec: use av_malloc_array() to allocate pmv

2020-09-17 Thread James Almer
On 9/17/2020 10:59 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/svq1dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c > index 25bd3d0253..ddd02f354e 100644 > --- a/libavcodec/svq1dec.c > +++

[FFmpeg-devel] [PATCH] avcodec/svq1dec: use av_malloc_array() to allocate pmv

2020-09-17 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/svq1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 25bd3d0253..ddd02f354e 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -679,7 +679,7 @@ static int