Lines Matching refs:audio_size
122 uint16_t audio_size, palette_size, width, height; in cdxl_read_packet() local
145 audio_size = AV_RB16(&cdxl->header[22]) * channels; in cdxl_read_packet()
147 if (!cdxl->srate && audio_size) in cdxl_read_packet()
163 if (current_size < (uint64_t)audio_size + video_size + CDXL_HEADER_SIZE) in cdxl_read_packet()
166 if (!cdxl->frate.num && audio_size && cdxl->srate > 0) { in cdxl_read_packet()
167 cdxl->frate = (AVRational){ cdxl->srate, audio_size }; in cdxl_read_packet()
172 if (cdxl->read_chunk && audio_size) { in cdxl_read_packet()
187 if (current_size && cdxl->filesize > 0 && audio_size > 0) in cdxl_read_packet()
188 st->duration = (cdxl->filesize / current_size) * audio_size / channels; in cdxl_read_packet()
191 ret = av_get_packet(pb, pkt, audio_size); in cdxl_read_packet()
196 pkt->duration = audio_size / channels; in cdxl_read_packet()
229 cdxl->read_chunk = audio_size; in cdxl_read_packet()
233 avio_skip(pb, current_size - audio_size - video_size - CDXL_HEADER_SIZE); in cdxl_read_packet()