Skip to content
Snippets Groups Projects
Commit 9ec6f1ee authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

svcdsub: Use existing helper

Should fix CID #1048969
parent 801b2a6b
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,9 @@ static void ParseHeader( decoder_t *, block_t * );
static subpicture_t *DecodePacket( decoder_t *, block_t * );
static void SVCDSubRenderImage( decoder_t *, block_t *, subpicture_region_t * );
#define GETINT16(p) ( (p[0] << 8) + p[1] ) ; p +=2;
#define GETINT16(p) GetWBE(p) ; p +=2;
#define GETINT32(p) ( (p[0] << 24) + (p[1] << 16) + \
(p[2] << 8) + (p[3]) ) ; p += 4;
#define GETINT32(p) GetDWBE(p) ; p += 4;
typedef enum {
SUBTITLE_BLOCK_EMPTY = 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment