diff libmpcodecs/vd_ffmpeg.c @ 7578:f64b73e009af

1l - update len too in sliced mode
author arpi
date Tue, 01 Oct 2002 23:47:22 +0000
parents 87f57e23e301
children c92b0b4d9e77
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