Merge pull request #159 from medaved/master
minidlna: Small patch for Philips TV open mkv
This commit is contained in:
commit
e46e7034df
2 changed files with 16 additions and 0 deletions
|
@ -14,7 +14,11 @@ PKG_RELEASE:=1
|
|||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/minidlna
|
||||
PKG_MD5SUM:=879027192c89e5376cdd2ae2d1aa33b4
|
||||
|
||||
PKG_MAINTAINER:=Knyazkov Dmitry <medavedik@gmail.com>
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
PKG_BUILD_PARALLEL:=0
|
||||
PKG_BUILD_DEPENDS:=util-linux
|
||||
|
||||
|
|
12
multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch
Normal file
12
multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- a/upnphttp.c
|
||||
+++ b/upnphttp.c
|
||||
@@ -1259,7 +1259,7 @@
|
||||
int try_sendfile = 1;
|
||||
#endif
|
||||
|
||||
- while( offset < end_offset )
|
||||
+ while( offset <= end_offset )
|
||||
{
|
||||
#if HAVE_SENDFILE
|
||||
if( try_sendfile )
|
||||
|
Loading…
Reference in a new issue