mirror of https://git.ffmpeg.org/ffmpeg.git
10l
Originally committed as revision 2418 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1ffb0091aa
commit
369e2d5024
|
@ -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_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);
|
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);
|
return mjpeg_decode_scan(s);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue