forked from Ivasoft/docker-tvheadend
Patch according to bug #1986 Continuity counter error again https://tvheadend.org/issues/1986
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -72,6 +72,8 @@ RUN \
|
|||||||
git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \
|
git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \
|
||||||
cd /tmp/tvheadend && \
|
cd /tmp/tvheadend && \
|
||||||
git checkout ${TVHEADEND_COMMIT} && \
|
git checkout ${TVHEADEND_COMMIT} && \
|
||||||
|
git apply /tmp/patches/001-patch-PAT.patch && \
|
||||||
|
cat src/input/mpegts/dvb_psi.c && \
|
||||||
./configure \
|
./configure \
|
||||||
`#Encoding` \
|
`#Encoding` \
|
||||||
--disable-ffmpeg_static \
|
--disable-ffmpeg_static \
|
||||||
|
|||||||
11
patches/001-patch-PAT.patch
Normal file
11
patches/001-patch-PAT.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- "a/src/input/mpegts/dvb_psi.c"
|
||||||
|
+++ "b/src/input/mpegts/dvb_psi.c"
|
||||||
|
@@ -997,7 +997,7 @@ dvb_pat_callback
|
||||||
|
/* Process each programme */
|
||||||
|
ptr += 5;
|
||||||
|
len -= 5;
|
||||||
|
- while(len >= 4) {
|
||||||
|
+ while(0) {
|
||||||
|
sid = extract_svcid(ptr);
|
||||||
|
pid = extract_pid(ptr + 2);
|
||||||
|
|
||||||
Reference in New Issue
Block a user