1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00
Andreas Rheinhardt 0a06f5aca5 avcodec/wmv2dec: Zero mb_type array for I pictures
Up until now, ff_wmv2_decode_secondary_picture_header() only
set the mb_type array for non I-pictures, so that the decoding
process uses the earlier values of this array; this affects
the output of the wmv8-x8intra FATE-test (which this patch
therefore updates). These earlier values were set when decoding
earlier frames or when the buffer was initially zero-allocated.
A consequence of this is that the output of this test would be
random if ff_find_unused_picture() would select the unused picture
to return at random. Furthermore decoding from a keyframe onwards
depends upon the earlier state of the decoder.

This patch therefore zeroes said array when decoding an I picture.

(It is not claimed that zero is the right value to fill the array with.
I just don't know.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-08-10 18:49:35 +02:00
..
amv
2018-10-26 11:51:04 +01:00
ast
2021-01-01 14:33:12 +01:00
2021-01-01 14:33:12 +01:00
2018-05-10 23:54:02 +01:00
dpx
2022-07-19 12:27:18 +02:00
2022-03-17 13:04:44 -03:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
2022-01-10 16:04:19 +01:00
2020-05-12 01:00:28 +02:00
2022-03-25 18:18:44 +01:00
2022-03-16 21:03:37 +01:00
2022-03-16 21:03:37 +01:00
2018-11-06 12:39:15 -03:00
2018-11-06 12:39:15 -03:00
2019-12-05 20:20:05 +01:00
2019-12-05 20:20:05 +01:00
2022-07-19 12:27:18 +02:00
2018-10-23 15:46:30 +01:00
2022-01-04 12:08:18 +01:00
imf
2021-12-31 17:26:01 +10:00
2022-08-03 14:09:46 -07:00
2022-07-19 12:27:18 +02:00
jv
lfg
2021-02-24 17:16:46 +01:00
m4v
md5
2022-07-19 12:27:18 +02:00
2020-12-10 09:53:52 +01:00
2021-08-24 12:22:36 -03:00
2021-08-24 12:22:36 -03:00
opt
2022-03-15 09:42:29 -03:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
ptx
rl2
sha
smc
2020-12-10 10:07:09 +01:00
2020-08-22 19:02:01 +02:00
tea
thp
vb
vp4
2019-06-12 20:06:20 +10:00
vp7
w64
2020-09-07 19:04:09 +02:00
yop