]> git.pld-linux.org Git - packages/cherokee.git/blob - ffmpeg0.11.patch
rel 4
[packages/cherokee.git] / ffmpeg0.11.patch
1 --- a/cherokee/handler_streaming.c.ffmpeg       2012-06-04 12:56:16.000000000 +0800
2 +++ b/cherokee/handler_streaming.c      2012-06-04 12:56:40.000000000 +0800
3 @@ -380,7 +380,7 @@
4         if (likely (secs > 0)) {
5                 long tmp;
6  
7 -               tmp = (hdl->avformat->file_size / secs);
8 +               tmp = (avio_size(hdl->avformat) / secs);
9                 if (tmp > rate) {
10                         rate = tmp;
11                         TRACE(ENTRIES, "New rate: %d bytes/s\n", rate);
This page took 0.03158 seconds and 3 git commands to generate.