<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>7403</bug_id>
          
          <creation_ts>2005-07-19 21:09:06 +0400</creation_ts>
          <short_desc>v 0.9.7 is out!</short_desc>
          <delta_ts>2005-09-30 14:21:34 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libquicktime</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27463</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2005-07-19 21:09:09 +0400</bug_when>
    <thetext>шумит все равно
но звук вроде получше... 
собрать бы надо.
я собрал в Backports к Master 2.4
News

    * 26. May 2005: libquicktime-0.9.7 released
      Another bugfix iteration. This time featuring:
          o Many compilation fixes for gcc4
          o Better detection for CPU specific gcc flags 
    * 21. May 2005: libquicktime-0.9.6 released
      Another bugfix iteration. This time featuring:
          o Fixes for NetBSD 2.0
          o Compilation now works with newer ffmpeg versions
          o Compilation should now happen without a single gcc warning 
    * 15. May 2005: libquicktime-0.9.5 released
      This is mostly a bugfix release, no major new features were added
          o All audio decoders should now decode up to the last sample.
          o Many smaller fixes
          o Header files are now installed into prefix/include/lqt to avoid
conflicts with the native Quicktime API on OSX
          o RPMs are no longer distributed, but there is still a .spec file so
you can make your own RPMs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29165</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2005-08-26 22:21:27 +0400</bug_when>
    <thetext>выпустил бакпорт 0.9.7
alt2 c моим патчем...
Выложите в Сизиф?
или может лучше отдадите мне этот пакет?
я сейчас в нем ковыряюсь, и мне он больше сейчас нужен.
Если Вам потом понадобится, с радостью отдам :)

описание патча.
--------------------------
Bug:
cinerella and other soft that use quicktime4linux or libquicktime 
crashes on opening large .mov files produced by my photo camera 
Minolta DimageZ3

patch:
patch for quicktime4linux/libquicktime

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

patch for openquicktime

--- lib/stbl.c	2002-12-15 03:51:59 +0200
+++ lib/stbl.c	2005-08-23 11:04:50 +0300
@@ -114,7 +115,12 @@
 			{ oqt_read_stss(file, &amp;(stbl-&gt;stss)); }
 		else
 		if(oqt_atom_is(&amp;leaf_atom, &quot;stsc&quot;))
-			{ oqt_read_stsc(file, &amp;(stbl-&gt;stsc)); }
+			{ 
+			  oqt_read_stsc(file, &amp;(stbl-&gt;stsc));
+			  /* at least Minolta DimageZ3 pads stsc with zeroes 
+			   * so we need to jump to next atom explicitly */
+			  oqt_atom_skip(file, &amp;leaf_atom);
+			}
 		else
 		if(oqt_atom_is(&amp;leaf_atom, &quot;stsz&quot;))
 			{ oqt_read_stsz(file, &amp;(stbl-&gt;stsz)); }

As you can see below, if mov file is large (approx. &gt; 1MB)
my Minolta Dimage Z3 reserves a free space for another entry in stsc.
The atom itself is correct, because its size is right and 
number of entries is also right, 
so we need to skip to the boundary of the next atom properly.

Here is a piece of file dump: 

||||+---------------------------
|||||atom stbl:	len=1340	at pos 4782472
|||||/---------------------------
||||||atom stsd:	len=104	at pos 4782480
||||||Version=[0]
||||||Flags=[</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30570</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2005-09-15 17:49:59 +0400</bug_when>
    <thetext>выпустил бакпорт 0.9.7
altM24.2 c моим патчем...
Выложите c моим патчем в Сизиф?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30582</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2005-09-16 01:21:05 +0400</bug_when>
    <thetext>Так может пакет заберёте? 
P.S. 
Патчи прикладываются через Create a New Atachment </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30630</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2005-09-17 01:05:16 +0400</bug_when>
    <thetext>На нового мантейнера </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31152</commentid>
    <comment_count>5</comment_count>
    <who name="viy">viy</who>
    <bug_when>2005-09-29 14:57:18 +0400</bug_when>
    <thetext>fixed in alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>