summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/input/input_dvb.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6611710b6..b540b62f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
xine-lib (1.2.1.1) 2012-??-??
* Fix musepack decoder compilation if libmpcdec headers aren't available.
* Configure tests for xinerama & VideoCD support now soft-fail properly.
+ * The DVB plugin is working again.
xine-lib (1.2.1) 2012-02-04
* The "I'm at Tyneside LUG" release.
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index 14fac6eec..74365cc44 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -2470,10 +2470,10 @@ static void ts_rewrite_packets (dvb_input_plugin_t *this, unsigned char * origin
crc = av_crc(this->class->av_crc, 0xffffffff, originalPkt+1, 12);
- originalPkt[13]=(crc>>24) & 0xff;
- originalPkt[14]=(crc>>16) & 0xff;
- originalPkt[15]=(crc>>8) & 0xff;
- originalPkt[16]=crc & 0xff;
+ originalPkt[13]=(crc ) & 0xff;
+ originalPkt[14]=(crc>> 8) & 0xff;
+ originalPkt[15]=(crc>>16) & 0xff;
+ originalPkt[16]=(crc>>24) & 0xff;
memset(originalPkt+17,0xFF,PKT_SIZE-21); /* stuff the remainder */
}