Mercurial > libavcodec.hg
comparison g726.c @ 11560:8a4984c5cacc libavcodec
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | 7955db355703 |
children | dde20597f15e |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
385 } | 385 } |
386 | 386 |
387 #if CONFIG_ADPCM_G726_ENCODER | 387 #if CONFIG_ADPCM_G726_ENCODER |
388 AVCodec adpcm_g726_encoder = { | 388 AVCodec adpcm_g726_encoder = { |
389 "g726", | 389 "g726", |
390 CODEC_TYPE_AUDIO, | 390 AVMEDIA_TYPE_AUDIO, |
391 CODEC_ID_ADPCM_G726, | 391 CODEC_ID_ADPCM_G726, |
392 sizeof(G726Context), | 392 sizeof(G726Context), |
393 g726_init, | 393 g726_init, |
394 g726_encode_frame, | 394 g726_encode_frame, |
395 g726_close, | 395 g726_close, |
399 }; | 399 }; |
400 #endif | 400 #endif |
401 | 401 |
402 AVCodec adpcm_g726_decoder = { | 402 AVCodec adpcm_g726_decoder = { |
403 "g726", | 403 "g726", |
404 CODEC_TYPE_AUDIO, | 404 AVMEDIA_TYPE_AUDIO, |
405 CODEC_ID_ADPCM_G726, | 405 CODEC_ID_ADPCM_G726, |
406 sizeof(G726Context), | 406 sizeof(G726Context), |
407 g726_init, | 407 g726_init, |
408 NULL, | 408 NULL, |
409 g726_close, | 409 g726_close, |