}
} else codec->extradata_size = 0;   if (size - codec->extradata_size - 18 > 0) url_fskip(pb, size - codec->extradata_size - 18);
void get_wav_header(ByteIOContext *pb, AVCodecContext *codec,                     int has_extra_data){    int id;    id = get_le16(pb);    codec->codec_type = CODEC_TYPE_AUDIO;    codec->codec_tag = id;    codec->channels = get_le16(pb);    codec->sample_rate = get_le32(pb);    codec->bit_rate = get_le32(pb) * 8;    codec->block_align = get_le16(pb);    codec->bits_per_sample = get_le16(pb); /* bits per sample */    codec->codec_id = wav_codec_get_id(id, codec->frame_bits);    if (has_extra_data) {	codec->extradata_size = get_le16(pb);	if (codec->extradata_size > 0) {            codec->extradata = av_mallocz(codec->extradata_size);            get_buffer(pb, codec->extradata, codec->extradata_size);        }    }}