diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-04 21:18:53 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-07 21:59:32 +0200 |
commit | 2d33d6bfcc2ab4031862aeb35bc0cb536019ac09 (patch) | |
tree | c7170f475c3be9416691bfceb25f24805c82d3cc /libavcodec/dvdec.c | |
parent | f3c8d0399acdf5dc0f0990bba3d7f0fb7c6e407c (diff) | |
download | ffmpeg-2d33d6bfcc2ab4031862aeb35bc0cb536019ac09.tar.gz |
avcodec/dv: Don't pretend initializing work chunks can fail
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r-- | libavcodec/dvdec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index a06e4807e7..9e8d40187d 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -637,11 +637,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, AVFrame *frame, } if (sys != s->sys) { - ret = ff_dv_init_dynamic_tables(s->work_chunks, sys); - if (ret < 0) { - av_log(avctx, AV_LOG_ERROR, "Error initializing the work tables.\n"); - return ret; - } + ff_dv_init_dynamic_tables(s->work_chunks, sys); dv_init_weight_tables(s, sys); s->sys = sys; } |