Merge commit 'c68317ebbe4915035df0b08c23eea7a0b80ab881'
[ffmpeg.git] / libavcodec / utils.c
index c7c7c44..8e7dc0f 100644 (file)
@@ -1328,7 +1328,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)