Home
last modified time | relevance | path

Searched refs:aframe_size (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Damvenc.c63 int32_t aframe_size; /* Expected audio frame size. */ member
128 amv->aframe_size = av_rescale(ast->codecpar->sample_rate, amv->us_per_frame, AV_TIME_BASE); in amv_init()
129 amv->ablock_align = 8 + (FFALIGN(amv->aframe_size, 2) / 2); in amv_init()
132 av_log(s, AV_LOG_TRACE, "aframe_size = %d\n", amv->aframe_size); in amv_init()
154 if (par->frame_size != amv->aframe_size) { in amv_init()
156 par->frame_size, amv->aframe_size); in amv_init()
167 av_log(s, AV_LOG_ERROR, "Try -block_size %d\n", amv->aframe_size); in amv_init()
171 if (ast->codecpar->sample_rate % amv->aframe_size) { in amv_init()
196 AV_WL32(amv->apad->data + 4, amv->aframe_size); in amv_init()