Commit 55a39540 authored by alex's avatar alex

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2f86b9b6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment