ffv1: Fix size mismatch in encode_line.
authorAlex Converse <alex.converse@gmail.com>
Fri, 13 Apr 2012 00:11:03 +0000 (17:11 -0700)
committerAlex Converse <alex.converse@gmail.com>
Fri, 13 Apr 2012 01:34:45 +0000 (18:34 -0700)
libavcodec/ffv1.c

index e2ca6fd..07d6d88 100644 (file)
@@ -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];