Lines Matching refs:chunk_num
886 const char fourcc[4], int chunk_num) {
893 if (count == chunk_num) break;
898 static int SetChunk(const char fourcc[4], int chunk_num,
903 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0;
906 if (chunk_num == 0) chunk_num = count;
908 if (chunk_num <= count) {
910 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num);
914 iter->chunk_num = chunk_num;
921 const char fourcc[4], int chunk_num,
927 return SetChunk(fourcc, chunk_num, iter);
934 return SetChunk(fourcc, iter->chunk_num + 1, iter);
940 if (iter != NULL && iter->chunk_num > 1) {
943 return SetChunk(fourcc, iter->chunk_num - 1, iter);