Revision 01f4895c libavformat/sol.c

View differences:

libavformat/sol.c
113 113
    st = av_new_stream(s, 0);
114 114
    if (!st)
115 115
        return -1;
116
    st->codec.codec_type = CODEC_TYPE_AUDIO;
117
    st->codec.codec_tag = id;
118
    st->codec.codec_id = codec;
119
    st->codec.channels = channels;
120
    st->codec.sample_rate = rate;    
116
    st->codec->codec_type = CODEC_TYPE_AUDIO;
117
    st->codec->codec_tag = id;
118
    st->codec->codec_id = codec;
119
    st->codec->channels = channels;
120
    st->codec->sample_rate = rate;    
121 121
    av_set_pts_info(st, 64, 1, rate);
122 122
    return 0;
123 123
}

Also available in: Unified diff