30 #define LMLM4_I_FRAME 0x00
31 #define LMLM4_P_FRAME 0x01
32 #define LMLM4_B_FRAME 0x02
33 #define LMLM4_INVALID 0x03
34 #define LMLM4_MPEG1L2 0x04
36 #define LMLM4_MAX_PACKET_SIZE 1024 * 1024
40 const unsigned char *
buf = pd->
buf;
41 unsigned int frame_type, packet_size;
49 if ((
AV_RB16(buf + 8) & 0xfffe) != 0xfffc)
54 }
else if (
AV_RB24(buf + 8) == 0x000001) {
87 unsigned int frame_type, packet_size, padding,
frame_size;
92 padding = -packet_size & 511;
93 frame_size = packet_size - 8;
109 switch (frame_type) {