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:
parent
5e28e97433
commit
a5ef830b12
@ -1073,7 +1073,7 @@ end:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FF_API_OLD_DECODE_AUDIO
|
#if FF_API_OLD_ENCODE_AUDIO
|
||||||
int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx,
|
int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx,
|
||||||
uint8_t *buf, int buf_size,
|
uint8_t *buf, int buf_size,
|
||||||
const short *samples)
|
const short *samples)
|
||||||
|
Loading…
Reference in New Issue
Block a user