Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Damvenc.c64 int32_t ablock_align; /* Expected audio block align. */ member
129 amv->ablock_align = 8 + (FFALIGN(amv->aframe_size, 2) / 2); in amv_init()
133 av_log(s, AV_LOG_TRACE, "ablock_align = %d\n", amv->ablock_align); in amv_init()
160 if (par->block_align != amv->ablock_align) { in amv_init()
162 par->block_align, amv->ablock_align); in amv_init()
189 if ((ret = av_new_packet(amv->apad, amv->ablock_align)) < 0) { in amv_init()
195 memset(amv->apad->data, 0, amv->ablock_align); in amv_init()
313 if (pkt->stream_index == AMV_STREAM_AUDIO && pkt->size != amv->ablock_align) { in amv_write_packet_internal()
316 pkt->size, amv->ablock_align); in amv_write_packet_internal()