diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-10-27 21:03:39 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-10-27 21:03:39 +0000 |
commit | 6addd7d1967c38babd8476c4d015661b9e61d5b3 (patch) | |
tree | 2de01dc524072837953dd2ffb0fc6fa5f183fca2 /linux/sound/pci/bt87x.c | |
parent | 26dd53f68aeae0c1ad9b81a702e0522cbf077e43 (diff) | |
download | mediapointer-dvb-s2-6addd7d1967c38babd8476c4d015661b9e61d5b3.tar.gz mediapointer-dvb-s2-6addd7d1967c38babd8476c4d015661b9e61d5b3.tar.bz2 |
From: Mark Adams <mark147m@gmail.com>
Fix a bug in the software demux which causes large MPEG sections to be lost
when they follow very small sections.
The problem happens when two sections begin in the same transport
packet. The dvb_demux code resets its buffer only before the first of
these sections. This means that when the second (or subsequent)
section begins, there is up to 182 bytes of buffer space already used.
If the following section is close to the maximum size, it currently
won't fit in the (4096-byte) buffer and is thrown away.
The fix is simply to enlarge the buffer by the size of one transport
packet and correct one usage of the SECFEED_SIZE definition where what
is really meant is the maximum size of a section.
Signed-off-by: Mark Adams <mark147m@gmail.com>
Diffstat (limited to 'linux/sound/pci/bt87x.c')
0 files changed, 0 insertions, 0 deletions