diff options
Diffstat (limited to 'www-servers/cherokee/files/cherokee-1.2.101-libav-9.patch')
-rw-r--r-- | www-servers/cherokee/files/cherokee-1.2.101-libav-9.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/www-servers/cherokee/files/cherokee-1.2.101-libav-9.patch b/www-servers/cherokee/files/cherokee-1.2.101-libav-9.patch deleted file mode 100644 index e7ec110d17c3..000000000000 --- a/www-servers/cherokee/files/cherokee-1.2.101-libav-9.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -burN cherokee-1.2.101.old//cherokee/handler_streaming.c cherokee-1.2.101/cherokee/handler_streaming.c ---- cherokee-1.2.101.old//cherokee/handler_streaming.c 2011-10-12 20:07:44.000000000 +0200 -+++ cherokee-1.2.101/cherokee/handler_streaming.c 2012-11-25 18:08:05.606331619 +0100 -@@ -312,14 +312,14 @@ - - /* Open the media stream - */ -- re = av_open_input_file (&hdl->avformat, hdl->local_file.buf, NULL, 0, NULL); -+ re = avformat_open_input (&hdl->avformat, hdl->local_file.buf, NULL, NULL); - if (re != 0) { - goto error; - } - - /* Read the info - */ -- re = av_find_stream_info (hdl->avformat); -+ re = avformat_find_stream_info (hdl->avformat, NULL); - if (re < 0) { - goto error; - } -@@ -380,7 +380,7 @@ - if (likely (secs > 0)) { - long tmp; - -- tmp = (hdl->avformat->file_size / secs); -+ tmp = (avio_size(hdl->avformat->pb) / secs); - if (tmp > rate) { - rate = tmp; - TRACE(ENTRIES, "New rate: %d bytes/s\n", rate); |