1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

This commit is contained in:
Justin Ruggles 2012-10-23 13:25:53 -04:00
parent 5e28e97433
commit a5ef830b12

View 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)