Re: [libav-devel] [PATCH] Fix ff_log2_run[] declaration

2012-10-05 Thread Diego Biurrun
On Thu, Oct 04, 2012 at 11:44:05PM +0100, Mans Rullgard wrote:
 This updates the declaration to match the actual size of the
 table.
 ---
 This is a troll-patch in the hope that someone will suggest a better
 home for that declaration.

If nothing better comes to mind, choose internal.h.

Diego
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH] Fix ff_log2_run[] declaration

2012-10-05 Thread Janne Grunau
On 2012-10-04 23:44:05 +0100, Måns Rullgård wrote:
 This updates the declaration to match the actual size of the
 table.
 ---
 This is a troll-patch in the hope that someone will suggest a better
 home for that declaration.

get_bits.h or a new header bitstream.h? and remember to remove the
declaration from ffv1.c too.

Janne
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH] Fix ff_log2_run[] declaration

2012-10-04 Thread Mans Rullgard
This updates the declaration to match the actual size of the
table.
---
This is a troll-patch in the hope that someone will suggest a better
home for that declaration.
---
 libavcodec/jpegls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpegls.h b/libavcodec/jpegls.h
index 18c71a8..f6b972b 100644
--- a/libavcodec/jpegls.h
+++ b/libavcodec/jpegls.h
@@ -44,7 +44,7 @@ typedef struct JLSState{
 int run_index[3];
 }JLSState;
 
-extern const uint8_t ff_log2_run[32];
+extern const uint8_t ff_log2_run[41];
 
 /**
  * Calculate initial JPEG-LS parameters
-- 
1.7.12

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel