mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-12-27 07:21:07 +01:00
Fix E-AC3 Parser
This commit is contained in:
@@ -364,7 +364,7 @@ static int Ac3Check(const uint8_t *data, int size) {
|
||||
if ((data[4] & 0xF0) == 0xF0) { // invalid fscod fscod2
|
||||
return 0;
|
||||
}
|
||||
frame_size = ((data[2] & 0x03) << 8) + data[3] + 1;
|
||||
frame_size = ((data[2] & 0x07) << 8) + data[3] + 1;
|
||||
frame_size *= 2;
|
||||
} else { // AC-3
|
||||
int fscod;
|
||||
@@ -2142,7 +2142,7 @@ int PlayVideo3(VideoStream *stream, const uint8_t *data, int size) {
|
||||
}
|
||||
// hard limit buffer full: needed for replay
|
||||
if (atomic_read(&stream->PacketsFilled) >= VIDEO_PACKET_MAX - 10) {
|
||||
// Debug(3, "video: video buffer full\n");
|
||||
//Debug(3, "video: video buffer full\n");
|
||||
return 0;
|
||||
}
|
||||
#ifdef USE_SOFTLIMIT
|
||||
|
||||
Reference in New Issue
Block a user