[FFmpeg-devel,1/2] avcodec/ffv1: Increase the maximum number of slices to 1024

Submitted by Michael Niedermayer on June 15, 2017, 7:31 p.m.

Details

Message ID 20170615193120.1513-1-michael@niedermayer.cc
State Accepted
Commit 449cdfa687f788fa633f5c07e9e7ac71952dc6f6
Headers show

Commit Message

Michael Niedermayer June 15, 2017, 7:31 p.m.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/ffv1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer June 26, 2017, 1:21 p.m.
On Thu, Jun 15, 2017 at 09:31:19PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/ffv1.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

patchset applied

[...]

Patch hide | download patch | download mbox

diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index c2bae1e6da..653138b070 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -74,7 +74,7 @@  typedef struct PlaneContext {
     uint8_t interlace_bit_state[2];
 } PlaneContext;
 
-#define MAX_SLICES 256
+#define MAX_SLICES 1024
 
 typedef struct FFV1Context {
     AVClass *class;