uint8_t chunk[CHUNK_SIZE];
} TYDemuxContext;
-static int ty_probe(AVProbeData *p)
+static int ty_probe(const AVProbeData *p)
{
int i;
if (data_offset + hdrs[i].rec_size > CHUNK_SIZE)
break;
- if ((hdrs[i].subrec_type << 0x08 | hdrs[i].rec_type) == 0x3c0 && hdrs[i].rec_size > 15) {
+ if ((hdrs[i].subrec_type << 8 | hdrs[i].rec_type) == 0x3c0 && hdrs[i].rec_size > 15) {
/* first make sure we're aligned */
int pes_offset = find_es_header(ty_MPEGAudioPacket,
&chunk[data_offset], 5);