[SCM] libav/experimental: 10l

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:38:03 UTC 2013


The following commit has been merged in the experimental branch:
commit 369e2d5024f5e309a4ccc90560167345cc69d4b3
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Wed Oct 22 22:12:25 2003 +0000

    10l
    
    Originally committed as revision 2418 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index f2267fa..084badb 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -2148,7 +2148,7 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
     s->mb_width = (s->width * s->h_max * 8 -1) / (s->h_max * 8);
     s->mb_height = (s->height * s->v_max * 8 -1) / (s->v_max * 8);
 
-    init_get_bits(&s->gb, buf, buf_size*8);
+    init_get_bits(&s->gb, buf+14, (buf_size-14)*8);
     
     return mjpeg_decode_scan(s);
 #endif

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list