[FFmpeg-devel] [PATCH v1 07/10] return value check for init_get_bits in vc1dec.c

Michael Niedermayer michael at niedermayer.cc
Thu Aug 12 17:03:28 EEST 2021


On Thu, Aug 12, 2021 at 12:53:31AM -0400, maryam ebrahimzadeh wrote:
> ---
>  libavcodec/vc1dec.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

This breaks fate-vc1_sa20021

--- ./tests/ref/fate/vc1_sa20021	2021-08-06 11:56:29.601679428 +0200
+++ tests/data/fate/vc1_sa20021	2021-08-12 16:01:47.610015840 +0200
@@ -8,58 +8,30 @@
 0,          3,          3,        1,   506880, 0x195cbee1
 0,          4,          4,        1,   506880, 0xc8141e28
 0,          5,          5,        1,   506880, 0xb170c49b
-0,          6,          6,        1,   506880, 0x2782268a
-0,          7,          7,        1,   506880, 0x2782268a
-0,          8,          8,        1,   506880, 0x2782268a
 0,          9,          9,        1,   506880, 0x2782268a
-0,         10,         10,        1,   506880, 0xe6803b32
 0,         11,         11,        1,   506880, 0xe6803b32
-0,         12,         12,        1,   506880, 0xa5ef9baf
 0,         13,         13,        1,   506880, 0xa5ef9baf
 0,         14,         14,        1,   506880, 0x46e8cbcb
 0,         15,         15,        1,   506880, 0x28a2239b
-0,         16,         16,        1,   506880, 0x7667af2f
 0,         17,         17,        1,   506880, 0x7667af2f
 0,         18,         18,        1,   506880, 0x8011bcaf

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210812/9a9fe539/attachment.sig>


More information about the ffmpeg-devel mailing list