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
..
2022-06-24 18:33:18 +02:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-22 09:19:11 -03:00
2022-07-23 11:53:19 +02:00
2022-07-23 11:53:19 +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-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-07-19 12:27:18 +02:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-05-06 05:39:25 +02:00
2022-07-18 21:09:44 +02:00
2022-07-30 22:29:10 +02:00
2022-07-30 22:29:10 +02:00
2022-07-18 21:09:44 +02:00
2022-07-18 21:09:44 +02:00
2022-07-18 21:09:44 +02:00
2022-07-18 21:09:44 +02:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-07-19 12:20:16 +02:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-06-19 19:18:34 -05:00
2022-08-08 09:39:33 -03:00
2022-08-08 09:39:33 -03:00
2022-05-24 11:21:36 +02:00
2022-04-25 20:52:15 +02:00
2022-04-10 20:12:23 +02:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-04-28 02:39:37 +02:00
2022-04-28 02:39:37 +02:00
2022-04-28 02:39:37 +02:00
2022-04-28 02:39:37 +02:00
2022-07-19 12:27:18 +02:00
2022-08-03 17:52:45 +08:00
2022-07-09 20:24:31 +02:00
2022-07-19 12:27:18 +02:00
2022-07-25 17:54:16 +02:00
2022-08-03 14:09:46 -07:00
2022-07-19 12:27:18 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-07-23 11:53:19 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-06-20 23:42:28 +02:00
2022-07-23 11:53:19 +02:00
2022-06-29 12:16:40 -07:00
2022-06-29 12:16:40 -07:00
2022-07-19 12:27:18 +02:00
2022-04-29 17:22:52 +08:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-07-10 16:58:58 +02:00
2022-08-07 15:15:45 -03:00
2022-07-19 12:27:18 +02:00
2022-07-30 11:42:06 +02:00
2022-07-19 12:27:18 +02:00
2022-06-20 23:42:28 +02:00
2022-07-23 11:53:19 +02:00
2022-05-23 13:52:26 +03:00
2022-08-03 14:09:46 -07:00
2022-06-09 00:02:02 +02:00
2022-06-09 00:02:02 +02:00
2022-04-10 20:12:23 +02:00
2022-04-10 20:12:23 +02:00
2022-05-31 12:45:41 +02:00
2022-06-20 23:42:28 +02:00
2022-04-08 16:08:53 -03:00
2022-04-08 16:08:53 -03:00
2022-04-08 16:08:53 -03:00
2022-04-08 16:08:53 -03:00
2022-06-20 23:42:28 +02:00
2022-08-10 18:49:35 +02:00