42 #define BINK_EXTRADATA_SIZE 1
43 #define BINK_MAX_AUDIO_TRACKS 256
44 #define BINK_MAX_WIDTH 7680
45 #define BINK_MAX_HEIGHT 4800
62 if ( b[0] ==
'B' && b[1] ==
'I' && b[2] ==
'K' &&
63 (b[3] ==
'b' || b[3] ==
'f' || b[3] ==
'g' || b[3] ==
'h' || b[3] ==
'i') &&
76 uint32_t fps_num, fps_den;
79 uint32_t pos, next_pos;
99 "invalid header: largest frame size greater than file size\n");
110 if (fps_num == 0 || fps_den == 0) {
168 for (i = 0; i < vst->
duration; i++) {
180 if (next_pos <= pos) {
209 if (index_entry < 0) {
211 "could not find index entry for frame %"PRId64
"\n",
224 "frame %"PRId64
": audio size in header (%u) > size of packet left (%u)\n",
230 if (audio_size >= 4) {