Revision 72415b2a libavformat/output-example.c

View differences:

libavformat/output-example.c
65 65

  
66 66
    c = st->codec;
67 67
    c->codec_id = codec_id;
68
    c->codec_type = CODEC_TYPE_AUDIO;
68
    c->codec_type = AVMEDIA_TYPE_AUDIO;
69 69

  
70 70
    /* put sample parameters */
71 71
    c->bit_rate = 64000;
......
199 199

  
200 200
    c = st->codec;
201 201
    c->codec_id = codec_id;
202
    c->codec_type = CODEC_TYPE_VIDEO;
202
    c->codec_type = AVMEDIA_TYPE_VIDEO;
203 203

  
204 204
    /* put sample parameters */
205 205
    c->bit_rate = 400000;

Also available in: Unified diff