From 2b8374e92063e096cadf828e2d4eefb39c9e2f54 Mon Sep 17 00:00:00 2001
From: Alex Converse <alex.converse@gmail.com>
Date: Thu, 12 Apr 2012 17:11:03 -0700
Subject: [PATCH] ffv1: Fix size mismatch in encode_line.

---
 libavcodec/ffv1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index e2ca6fd9d9..07d6d8855b 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -438,7 +438,7 @@ static inline int get_vlc_symbol(GetBitContext *gb, VlcState * const state, int
 
 #if CONFIG_FFV1_ENCODER
 static av_always_inline int encode_line(FFV1Context *s, int w,
-                                        int16_t *sample[2],
+                                        int16_t *sample[3],
                                         int plane_index, int bits)
 {
     PlaneContext * const p= &s->plane[plane_index];