Revision 8c0c1122

View differences:

libavformat/ffmdec.c
354 354
            codec->sample_rate = get_be32(pb);
355 355
            codec->channels = get_le16(pb);
356 356
            codec->frame_size = get_le16(pb);
357
            codec->sample_fmt = get_le16(pb);
357 358
            break;
358 359
        default:
359 360
            goto fail;
libavformat/ffmenc.c
172 172
            put_be32(pb, codec->sample_rate);
173 173
            put_le16(pb, codec->channels);
174 174
            put_le16(pb, codec->frame_size);
175
            put_le16(pb, codec->sample_fmt);
175 176
            break;
176 177
        default:
177 178
            return -1;

Also available in: Unified diff