[FFmpeg-cvslog] ffv1: Fix size mismatch in encode_line.

Alex Converse git at videolan.org
Fri Apr 13 22:12:30 CEST 2012


ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Thu Apr 12 17:11:03 2012 -0700| [2b8374e92063e096cadf828e2d4eefb39c9e2f54] | committer: Alex Converse

ffv1: Fix size mismatch in encode_line.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b8374e92063e096cadf828e2d4eefb39c9e2f54
---

 libavcodec/ffv1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index e2ca6fd..07d6d88 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];



More information about the ffmpeg-cvslog mailing list