]> git.sesse.net Git - ffmpeg/commit
avcodec/h261dec: Initialize IDCT context during init
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 5 Apr 2021 00:42:18 +0000 (02:42 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 7 Apr 2021 23:17:49 +0000 (01:17 +0200)
commit5106fe85f71459f0f293019e682edec0c3c26cee
tree108c6cd45e5275b530842b7e0dd4905d5dcd8f5f
parent9abda1365c5e2d827eb673b6d98245163c868bf1
avcodec/h261dec: Initialize IDCT context during init

Before 998c9f15d1ca8c7489775ebcca51623b915988f1, initializing an
MpegEncContext's IDCT parts occured in ff_mpv_common_init() and this
has been called in h261_decode_frame(), not h261_decode_init().

Yet said commit factored this out of ff_mpv_common_init() and therefore
there is no reason any more not to set this during init as this commit
does.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/h261dec.c