lavc: use the correct API version guard macro for avcodec_encode_audio()
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 23 Oct 2012 17:25:53 +0000 (13:25 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 23 Oct 2012 18:35:27 +0000 (14:35 -0400)
libavcodec/utils.c

index 5e22b9f..10230ca 100644 (file)
@@ -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)