[xiph-commits] r11728 - trunk/ffmpeg2theora
tahseen at svn.xiph.org
tahseen at svn.xiph.org
Wed Aug 2 07:36:11 PDT 2006
Author: tahseen
Date: 2006-08-02 07:36:05 -0700 (Wed, 02 Aug 2006)
New Revision: 11728
Modified:
trunk/ffmpeg2theora/theorautils.c
Log:
theora_info structure was being cleared early causing invalid values in skeleton packet for theora.
Modified: trunk/ffmpeg2theora/theorautils.c
===================================================================
--- trunk/ffmpeg2theora/theorautils.c 2006-08-02 10:13:43 UTC (rev 11727)
+++ trunk/ffmpeg2theora/theorautils.c 2006-08-02 14:36:05 UTC (rev 11728)
@@ -159,7 +159,6 @@
if(!info->audio_only){
ogg_stream_init (&info->to, rand ()); /* oops, add one ot the above */
theora_encode_init (&info->td, &info->ti);
- theora_info_clear (&info->ti);
}
/* init theora done */
@@ -261,6 +260,10 @@
}
}
+ if (!info->audio_only) {
+ theora_info_clear(&info->ti);
+ }
+
/* Flush the rest of our headers. This ensures
* the actual data in each stream will start
* on a new page, as per spec. */
More information about the commits
mailing list