Lines Matching refs:audio_size
93 int* audio_size = NULL; in rl2_read_header() local
163 audio_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
166 if(!chunk_size || !audio_size || !chunk_offset){ in rl2_read_header()
168 av_free(audio_size); in rl2_read_header()
193 audio_size[i] = avio_rl32(pb) & 0xFFFF; in rl2_read_header()
198 if(chunk_size[i] < 0 || audio_size[i] > chunk_size[i]){ in rl2_read_header()
203 if(sound_rate && audio_size[i]){ in rl2_read_header()
205 audio_frame_counter,audio_size[i], 0, AVINDEX_KEYFRAME); in rl2_read_header()
206 audio_frame_counter += audio_size[i] / channels; in rl2_read_header()
208 av_add_index_entry(s->streams[0], chunk_offset[i] + audio_size[i], in rl2_read_header()
209 video_frame_counter,chunk_size[i]-audio_size[i],0,AVINDEX_KEYFRAME); in rl2_read_header()
215 av_free(audio_size); in rl2_read_header()