]> git.pld-linux.org Git - packages/cherokee.git/blobdiff - ffmpeg0.11.patch
Fix for ffmpeg 1.0 (from mageia)
[packages/cherokee.git] / ffmpeg0.11.patch
diff --git a/ffmpeg0.11.patch b/ffmpeg0.11.patch
new file mode 100644 (file)
index 0000000..eedbcf6
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/cherokee/handler_streaming.c.ffmpeg      2012-06-04 12:56:16.000000000 +0800
++++ b/cherokee/handler_streaming.c     2012-06-04 12:56:40.000000000 +0800
+@@ -380,7 +380,7 @@
+       if (likely (secs > 0)) {
+               long tmp;
+-              tmp = (hdl->avformat->file_size / secs);
++              tmp = (avio_size(hdl->avformat) / secs);
+               if (tmp > rate) {
+                       rate = tmp;
+                       TRACE(ENTRIES, "New rate: %d bytes/s\n", rate);
This page took 0.087133 seconds and 4 git commands to generate.