Lines Matching +full:unused +full:- +full:private +full:- +full:field
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 struct ogg *ogg = s->priv_data; in celt_header()
36 struct ogg_stream *os = ogg->streams + idx; in celt_header()
37 AVStream *st = s->streams[idx]; in celt_header()
38 struct oggcelt_private *priv = os->private; in celt_header()
39 uint8_t *p = os->buf + os->pstart; in celt_header()
42 if (os->psize == 60 && in celt_header()
52 ret = ff_alloc_extradata(st->codecpar, 2 * sizeof(uint32_t)); in celt_header()
58 /* unused header size field skipped */ in celt_header()
62 /* unused bytes per packet field skipped */ in celt_header()
64 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in celt_header()
65 st->codecpar->codec_id = AV_CODEC_ID_CELT; in celt_header()
66 st->codecpar->sample_rate = sample_rate; in celt_header()
67 st->codecpar->ch_layout.nb_channels = nb_channels; in celt_header()
71 if (os->private) { in celt_header()
73 priv = os->private; in celt_header()
75 os->private = priv; in celt_header()
76 priv->extra_headers_left = 1 + extra_headers; in celt_header()
78 AV_WL32(st->codecpar->extradata + 0, overlap); in celt_header()
79 AV_WL32(st->codecpar->extradata + 4, version); in celt_header()
81 } else if (priv && priv->extra_headers_left) { in celt_header()
84 ff_vorbis_stream_comment(s, st, p, os->psize); in celt_header()
85 priv->extra_headers_left--; in celt_header()