32 int version_major, version_minor;
33 int64_t start_num, start_den;
45 if (!strncmp(buf,
"fishead", 8)) {
50 version_minor =
AV_RL16(buf+10);
52 if (version_major != 3 && version_major != 4) {
54 version_major, version_minor);
66 if (start_den > 0 && start_num > 0) {
68 av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX);
73 }
else if (!strncmp(buf,
"fisbone", 8)) {
78 start_granule =
AV_RL64(buf+36);