aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-23 13:25:53 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-10-23 14:35:27 -0400
commita5ef830b1226273c35d4baa1c2e4e7e1c9de7c7d (patch)
tree8c2f944889b2bf4b628b5dc953a3b7f1fccca648 /libavcodec/utils.c
parent5e28e974339e90c2cee866bedbd913fe42917b15 (diff)
downloadffmpeg-a5ef830b1226273c35d4baa1c2e4e7e1c9de7c7d.tar.gz
lavc: use the correct API version guard macro for avcodec_encode_audio()
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 5e22b9f6cf..10230cad47 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1073,7 +1073,7 @@ end:
return ret;
}
-#if FF_API_OLD_DECODE_AUDIO
+#if FF_API_OLD_ENCODE_AUDIO
int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx,
uint8_t *buf, int buf_size,
const short *samples)