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

Justin Ruggles git at videolan.org
Wed Oct 24 14:25:30 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Oct 23 13:25:53 2012 -0400| [a5ef830b1226273c35d4baa1c2e4e7e1c9de7c7d] | committer: Justin Ruggles

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a5ef830b1226273c35d4baa1c2e4e7e1c9de7c7d
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ffmpeg-cvslog mailing list