Lines Matching defs:streaminfo
36 /* updated streaminfo sent by the encoder at the end */
37 uint8_t *streaminfo;
142 uint8_t *streaminfo = c->streaminfo ? c->streaminfo :
145 if (!c->write_header || !streaminfo)
152 avio_write(pb, streaminfo, FLAC_STREAMINFO_SIZE);
159 av_freep(&c->streaminfo);
167 uint8_t *streaminfo;
170 /* check for updated streaminfo */
171 streaminfo = av_packet_get_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA,
173 if (streaminfo && streaminfo_size == FLAC_STREAMINFO_SIZE) {
174 av_freep(&c->streaminfo);
176 c->streaminfo = av_malloc(FLAC_STREAMINFO_SIZE);
177 if (!c->streaminfo)
179 memcpy(c->streaminfo, streaminfo, FLAC_STREAMINFO_SIZE);