FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_isCryptedStream.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
bool
HDD_isCryptedStream
(
const
byte
*Buffer, dword
BufferSize
)
4
{
5
TRACEENTER
();
6
7
dword i;
8
bool
ret;
9
10
ret = FALSE;
11
for
(i = 0; i <
BufferSize
; i += 188)
12
if
((Buffer[i] == 0x47) && ((Buffer[i + 3] & 0xC0) != 0))
13
{
14
ret = TRUE;
15
break
;
16
}
17
18
TRACEEXIT
();
19
return
ret;
20
}
BufferSize
dword BufferSize
Definition:
INIOpenFile.c:7
HDD_isCryptedStream
bool HDD_isCryptedStream(const byte *Buffer, dword BufferSize)
Definition:
HDD_isCryptedStream.c:3
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
rec
HDD_isCryptedStream.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3