From: "Ronald S. Bultje" <[email protected]>

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
---
 libavcodec/ralfdata.h |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavcodec/ralfdata.h b/libavcodec/ralfdata.h
index 83eb970..942a783 100644
--- a/libavcodec/ralfdata.h
+++ b/libavcodec/ralfdata.h
@@ -32,7 +32,7 @@
 #define SHORT_CODES_ELEMENTS   169
 #define LONG_CODES_ELEMENTS    441
 
-static const uint8_t filter_param_def[3][324] = {
+static const uint8_t filter_param_def[3][322 + FF_INPUT_BUFFER_PADDING_SIZE] = 
{
   {
     0x48, 0x86, 0x66, 0x8A, 0xBB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
@@ -120,7 +120,7 @@ static const uint8_t filter_param_def[3][324] = {
   }
 };
 
-static const uint8_t bias_def[3][128] = {
+static const uint8_t bias_def[3][128 + FF_INPUT_BUFFER_PADDING_SIZE] = {
   {
     0x4A, 0xAA, 0xAA, 0xAA, 0xBA, 0xBA, 0xBA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
     0xAA, 0xAA, 0xAA, 0xAB, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0x9A, 0xA9, 0xA9,
@@ -160,7 +160,7 @@ static const uint8_t bias_def[3][128] = {
   }
 };
 
-static const uint8_t coding_mode_def[3][72] = {
+static const uint8_t coding_mode_def[3][70 + FF_INPUT_BUFFER_PADDING_SIZE] = {
   {
     0xAA, 0x99, 0xAC, 0xB9, 0xBD, 0xAA, 0x7A, 0xA8, 0xA8, 0xA8, 0x79, 0x79,
     0x77, 0xA8, 0x97, 0x79, 0x89, 0x77, 0x87, 0x87, 0x68, 0x78, 0x66, 0x86,
@@ -185,7 +185,7 @@ static const uint8_t coding_mode_def[3][72] = {
   }
 };
 
-static const uint8_t filter_coeffs_def[3][10][11][24] = {
+static const uint8_t filter_coeffs_def[3][10][11][22 + 
FF_INPUT_BUFFER_PADDING_SIZE] = {
  {
   {
    {
@@ -1574,7 +1574,7 @@ static const uint8_t filter_coeffs_def[3][10][11][24] = {
  },
 };
 
-static const uint8_t short_codes_def[3][15][88] = {
+static const uint8_t short_codes_def[3][15][85 + FF_INPUT_BUFFER_PADDING_SIZE] 
= {
  {
   {
     0xDF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xCF, 0xFF,
@@ -2033,7 +2033,7 @@ static const uint8_t short_codes_def[3][15][88] = {
  },
 };
 
-static const uint8_t long_codes_def[3][125][224] = {
+static const uint8_t long_codes_def[3][125][221 + 
FF_INPUT_BUFFER_PADDING_SIZE] = {
  {
   {
     0xBE, 0xED, 0xDD, 0xDD, 0xDD, 0xDD, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0xFF,
-- 
1.7.9.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to