Revision a7a85dc4

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
            codec->sample_fmt = (int16_t) get_le16(pb);
358 358
            break;
359 359
        default:
360 360
            goto fail;

Also available in: Unified diff