changeset 7578:f64b73e009af

1l - update len too in sliced mode
author arpi
date Tue, 01 Oct 2002 23:47:22 +0000
parents e5a7d03f794d
children 24860f7c716f
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Tue Oct 01 22:36:25 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Tue Oct 01 23:47:22 2002 +0000
@@ -490,6 +490,7 @@
         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