29 #define LMLM4_I_FRAME 0x00
30 #define LMLM4_P_FRAME 0x01
31 #define LMLM4_B_FRAME 0x02
32 #define LMLM4_INVALID 0x03
33 #define LMLM4_MPEG1L2 0x04
35 #define LMLM4_MAX_PACKET_SIZE 1024 * 1024
38 const unsigned char *
buf = pd->
buf;
39 unsigned int frame_type, packet_size;
48 if ((
AV_RB16(buf+8) & 0xfffe) != 0xfffc)
53 }
else if (
AV_RB24(buf+8) == 0x000001) {
84 unsigned int frame_type, packet_size, padding,
frame_size;
89 padding = -packet_size & 511;
90 frame_size = packet_size - 8;
106 switch (frame_type) {