Lines Matching refs:header
100 unsigned char *header;
117 /* allocate space for the header and load the whole thing */
118 header = av_malloc(header_size);
119 if (!header)
121 if (get_buffer(pb, header, header_size) != header_size){
122 av_free(header);
128 fourcc_tag = AV_RL32(&header[i]);
129 size = AV_RL32(&header[i + 4]);
132 fourxm->fps = av_int2flt(AV_RL32(&header[i + 12]));
139 fourxm->width = AV_RL32(&header[i + 36]);
140 fourxm->height = AV_RL32(&header[i + 40]);
156 AV_WL32(st->codec->extradata, AV_RL32(&header[i + 16]));
168 current_track = AV_RL32(&header[i + 8]);
183 fourxm->tracks[current_track].adpcm = AV_RL32(&header[i + 12]);
184 fourxm->tracks[current_track].channels = AV_RL32(&header[i + 36]);
185 fourxm->tracks[current_track].sample_rate = AV_RL32(&header[i + 40]);
186 fourxm->tracks[current_track].bits = AV_RL32(&header[i + 44]);
225 av_free(header);
232 av_free(header);
246 unsigned char header[8];
251 if ((ret = get_buffer(s->pb, header, 8)) < 0)
253 fourcc_tag = AV_RL32(&header[0]);
254 size = AV_RL32(&header[4]);
280 memcpy(pkt->data, header, 8);