aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-04-12 17:11:03 -0700
committerAlex Converse <alex.converse@gmail.com>2012-04-12 18:34:45 -0700
commit2b8374e92063e096cadf828e2d4eefb39c9e2f54 (patch)
tree0d87d76afc66c81c608001de0e248fe72be6a0ac /libavcodec/ffv1.c
parent73b7437f1d5a45fc1d0d8a8aa13622ff794e913e (diff)
downloadffmpeg-2b8374e92063e096cadf828e2d4eefb39c9e2f54.tar.gz
ffv1: Fix size mismatch in encode_line.
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c2
1 files changed, 1 insertions, 1 deletions
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];