mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 09:57:34 +00:00
1l - update len too in sliced mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7579 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
103cbf8734
commit
4250d227f1
@ -490,6 +490,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||
avctx->slice_count= hdr->chunks+1;
|
||||
for(i=0; i<avctx->slice_count; i++)
|
||||
avctx->slice_offset[i]= ((uint32_t*)(data+hdr->chunktab))[2*i+1];
|
||||
len=hdr->len;
|
||||
data+= sizeof(dp_hdr_t);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user