Message ID | AS8P250MB0744B1914E903E9DB42BF5A38FC7A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | b6e5136ba3d4ef2aab91a7db073dca17d4eb0b6b |
Headers | show |
Series | [FFmpeg-devel,1/4] avcodec/mpegvideo_dec: Check for existence of planes before accesses | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Sat, Sep 30, 2023 at 08:02:55PM +0200, Andreas Rheinhardt wrote: > Added in 80e9e63c946660304fc65fa8141ccfdbe4d196d1 for reasons > unknown to me. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/mpegvideo_dec.c | 4 ---- > 1 file changed, 4 deletions(-) ok [...]
diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 617109a1f7..f9fccff518 100644 --- a/libavcodec/mpegvideo_dec.c +++ b/libavcodec/mpegvideo_dec.c @@ -419,10 +419,6 @@ FF_ENABLE_DEPRECATION_WARNINGS ff_thread_report_progress(&s->next_picture_ptr->tf, INT_MAX, 1); } -#if 0 // BUFREF-FIXME - memset(s->last_picture.f->data, 0, sizeof(s->last_picture.f->data)); - memset(s->next_picture.f->data, 0, sizeof(s->next_picture.f->data)); -#endif if (s->last_picture_ptr) { if (s->last_picture_ptr->f->buf[0] && (ret = ff_mpeg_ref_picture(s->avctx, &s->last_picture,
Added in 80e9e63c946660304fc65fa8141ccfdbe4d196d1 for reasons unknown to me. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpegvideo_dec.c | 4 ---- 1 file changed, 4 deletions(-)