[libav-commits] lavc: use the correct API version guard macro for avcodec_encode_audio()

Justin Ruggles git at libav.org
Tue Oct 23 20:34:54 CEST 2012


Module: libav
Branch: master
Commit: a5ef830b1226273c35d4baa1c2e4e7e1c9de7c7d

Author:    Justin Ruggles <justin.ruggles at gmail.com>
Committer: Justin Ruggles <justin.ruggles at gmail.com>
Date:      Tue Oct 23 13:25:53 2012 -0400

lavc: use the correct API version guard macro for avcodec_encode_audio()

---

 libavcodec/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 5e22b9f..10230ca 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)



More information about the libav-commits mailing list