Lines Matching defs:mh
236 MLPHeaderInfo mh;
239 if (ff_mlp_read_major_sync(m->avctx, &mh, gb) != 0)
242 if (mh.group1_bits == 0) {
246 if (mh.group2_bits > mh.group1_bits) {
252 if (mh.group2_samplerate && mh.group2_samplerate != mh.group1_samplerate) {
258 if (mh.group1_samplerate == 0) {
262 if (mh.group1_samplerate > MAX_SAMPLERATE) {
265 mh.group1_samplerate, MAX_SAMPLERATE);
268 if (mh.access_unit_size > MAX_BLOCKSIZE) {
271 mh.access_unit_size, MAX_BLOCKSIZE);
274 if (mh.access_unit_size_pow2 > MAX_BLOCKSIZE_POW2) {
277 mh.access_unit_size_pow2, MAX_BLOCKSIZE_POW2);
281 if (mh.num_substreams == 0)
283 if (mh.num_substreams > MAX_SUBSTREAMS) {
286 "by the decoder. %s\n", mh.num_substreams, sample_message);
290 m->access_unit_size = mh.access_unit_size;
291 m->access_unit_size_pow2 = mh.access_unit_size_pow2;
293 m->num_substreams = mh.num_substreams;
296 m->avctx->sample_rate = mh.group1_samplerate;
297 m->avctx->frame_size = mh.access_unit_size;
299 m->avctx->bits_per_raw_sample = mh.group1_bits;
300 if (mh.group1_bits > 16)