[Extractor-gtk-cvslog] SF.net SVN: extractor-gtk:[113] trunk/extractor/solid.c
Extract files from unusual archive formats
Brought to you by:
someone-guy
From: <som...@us...> - 2008-09-17 12:00:21
|
Revision: 113 http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=113&view=rev Author: someone-guy Date: 2008-09-17 19:00:18 +0000 (Wed, 17 Sep 2008) Log Message: ----------- Extract "chunk" headers as well for solid video files to allow to easily find frame boundaries. Modified Paths: -------------- trunk/extractor/solid.c Modified: trunk/extractor/solid.c =================================================================== --- trunk/extractor/solid.c 2008-09-17 19:00:00 UTC (rev 112) +++ trunk/extractor/solid.c 2008-09-17 19:00:18 UTC (rev 113) @@ -144,6 +144,10 @@ skip = len - data_len; len = data_len; + } else if (type == TYPE_VIDEO) { + // extract the chunk headers, too, they allow splitting by frames + fseek(in, -8, SEEK_CUR); + len += 16; } else fseek(in, 8, SEEK_CUR); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |