aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvo-amrwbenc.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-04-18 22:12:50 +0200
committerLuca Barbato <lu_zero@gentoo.org>2011-04-18 22:21:13 +0200
commitfacc48f157a282e9d99a9bf65f5985bace4606b9 (patch)
treef1d6e72dc6fa9dcffcfd5c1bd677ecaa6908a6f6 /libavcodec/libvo-amrwbenc.c
parent139f3ac42dcf24eb8c59af4aaab4e9afdccbc996 (diff)
downloadffmpeg-facc48f157a282e9d99a9bf65f5985bace4606b9.tar.gz
libvo-aacenc,libvo-amrwbenc}: fix api usage
Use the correct error codes and format identifier.
Diffstat (limited to 'libavcodec/libvo-amrwbenc.c')
-rw-r--r--libavcodec/libvo-amrwbenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c
index d8a6099561..b3615ede42 100644
--- a/libavcodec/libvo-amrwbenc.c
+++ b/libavcodec/libvo-amrwbenc.c
@@ -119,7 +119,7 @@ static int amr_wb_encode_frame(AVCodecContext *avctx,
AVCodec ff_libvo_amrwbenc_encoder = {
"libvo_amrwbenc",
- CODEC_TYPE_AUDIO,
+ AVMEDIA_TYPE_AUDIO,
CODEC_ID_AMR_WB,
sizeof(AMRWBContext),
amr_wb_encode_init,