Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1473362
 поиск   регистрация   авторизация 
 
Группа :: Видео
Пакет: cinelerra

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: quicktime-1.6-crashfix.patch


--- quicktime/stbl.c	2002-12-15 03:51:59 +0200
+++ quicktime/stbl.c	2005-08-23 11:04:50 +0300
@@ -114,7 +115,12 @@
 			{ quicktime_read_stss(file, &(stbl->stss)); }
 		else
 		if(quicktime_atom_is(&leaf_atom, "stsc"))
-			{ quicktime_read_stsc(file, &(stbl->stsc)); }
+			{ 
+			  quicktime_read_stsc(file, &(stbl->stsc));
+			  /* at least Minolta DimageZ3 pads stsc with zeroes 
+			   * so we need to jump to next atom explicitly */
+			  quicktime_atom_skip(file, &leaf_atom);
+			}
 		else
 		if(quicktime_atom_is(&leaf_atom, "stsz"))
 			{ quicktime_read_stsz(file, &(stbl->stsz)); }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005