[xiph-commits] r17971 - trunk/ffmpeg2theora/patches

j at svn.xiph.org j at svn.xiph.org
Sat May 7 13:26:20 PDT 2011


Author: j
Date: 2011-05-07 13:26:20 -0700 (Sat, 07 May 2011)
New Revision: 17971

Removed:
   trunk/ffmpeg2theora/patches/ogg_duration.patch
Log:
remove patch applied to ffmpeg trunk

Deleted: trunk/ffmpeg2theora/patches/ogg_duration.patch
===================================================================
--- trunk/ffmpeg2theora/patches/ogg_duration.patch	2011-05-07 01:06:49 UTC (rev 17970)
+++ trunk/ffmpeg2theora/patches/ogg_duration.patch	2011-05-07 20:26:20 UTC (rev 17971)
@@ -1,23 +0,0 @@
-Index: libavformat/oggdec.c
-===================================================================
---- libavformat/oggdec.c	(revision 19439)
-+++ libavformat/oggdec.c	(working copy)
-@@ -469,6 +469,18 @@
-     ogg->size = size;
-     ogg_restore (s, 0);
- 
-+    ogg_save (s);
-+    url_fseek (s->pb, 0, SEEK_SET);
-+    while (!ogg_read_page (s, &i)){
-+        if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 && 
-+            ogg->streams[i].codec) {
-+            s->streams[i]->duration -=
-+                ogg_gptopts (s, i, ogg->streams[i].granule, NULL);
-+            break;
-+        }
-+    }
-+    ogg_restore (s, 0);
-+
-     return 0;
- }
- 



More information about the commits mailing list