Revision 9261e6cf libavformat/rtpdec_amr.c

View differences:

libavformat/rtpdec_amr.c
191 191
    .codec_type       = AVMEDIA_TYPE_AUDIO,
192 192
    .codec_id         = CODEC_ID_AMR_NB,
193 193
    .parse_sdp_a_line = amr_parse_sdp_line,
194
    .open             = amr_new_context,
195
    .close            = amr_free_context,
194
    .alloc            = amr_new_context,
195
    .free             = amr_free_context,
196 196
    .parse_packet     = amr_handle_packet,
197 197
};
198 198

  
......
201 201
    .codec_type       = AVMEDIA_TYPE_AUDIO,
202 202
    .codec_id         = CODEC_ID_AMR_WB,
203 203
    .parse_sdp_a_line = amr_parse_sdp_line,
204
    .open             = amr_new_context,
205
    .close            = amr_free_context,
204
    .alloc            = amr_new_context,
205
    .free             = amr_free_context,
206 206
    .parse_packet     = amr_handle_packet,
207 207
};
208 208

  

Also available in: Unified diff