Revision 72415b2a libavformat/flacdec.c

View differences:

libavformat/flacdec.c
36 36
    AVStream *st = av_new_stream(s, 0);
37 37
    if (!st)
38 38
        return AVERROR(ENOMEM);
39
    st->codec->codec_type = CODEC_TYPE_AUDIO;
39
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
40 40
    st->codec->codec_id = CODEC_ID_FLAC;
41 41
    st->need_parsing = AVSTREAM_PARSE_FULL;
42 42
    /* the parameters will be extracted from the compressed bitstream */

Also available in: Unified diff