mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Fix E-AC3 Parser
This commit is contained in:
parent
d5dec38d62
commit
79fa8efc6a
@ -61,7 +61,7 @@ extern void ToggleLUT();
|
|||||||
/// vdr-plugin version number.
|
/// vdr-plugin version number.
|
||||||
/// Makefile extracts the version number for generating the file name
|
/// Makefile extracts the version number for generating the file name
|
||||||
/// for the distribution archive.
|
/// for the distribution archive.
|
||||||
static const char *const VERSION = "3.7"
|
static const char *const VERSION = "3.7.1"
|
||||||
#ifdef GIT_REV
|
#ifdef GIT_REV
|
||||||
"-GIT" GIT_REV
|
"-GIT" GIT_REV
|
||||||
#endif
|
#endif
|
||||||
|
@ -364,7 +364,7 @@ static int Ac3Check(const uint8_t *data, int size) {
|
|||||||
if ((data[4] & 0xF0) == 0xF0) { // invalid fscod fscod2
|
if ((data[4] & 0xF0) == 0xF0) { // invalid fscod fscod2
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
frame_size = ((data[2] & 0x03) << 8) + data[3] + 1;
|
frame_size = ((data[2] & 0x07) << 8) + data[3] + 1;
|
||||||
frame_size *= 2;
|
frame_size *= 2;
|
||||||
} else { // AC-3
|
} else { // AC-3
|
||||||
int fscod;
|
int fscod;
|
||||||
|
Loading…
Reference in New Issue
Block a user