audio/idjc: unbreak with ffmpeg 4.0
avcodec_encoder.c:118:78: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function)
if (posix_memalign((void *)&s->inbuf, BYTE_ALIGNMENT, s->inbufsize + FF_INPUT_BUFFER_PADDING_SIZE)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~avcodec_encoder.c:125:68: error: 'FF_MIN_BUFFER_SIZE' undeclared (first use in this function)
if (posix_memalign((void *)&s->avpkt.data, BYTE_ALIGNMENT, FF_MIN_BUFFER_SIZE)) {
^~~~~~~~~~~~~~~~~~avcodec_encoder.c:199:52: error: 'CODEC_CAP_DELAY' undeclared (first use in this function)
if (final && (s->codec->capabilities | CODEC_CAP_DELAY)) {
^~~~~~~~~~~~~~~avcodec_encoder.c:212:71: error: 'CODEC_CAP_VARIABLE_FRAME_SIZE' undeclared (first use in this function)
if (!final || s->codec->capabilities & (CODEC_CAP_DELAY | CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~avcodec_encoder.c:212:103: error: 'CODEC_CAP_SMALL_LAST_FRAME' undeclared (first use in this function)
if (!final || s->codec->capabilities & (CODEC_CAP_DELAY | CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~PR: 227726
Reported by: antoine (via exp-run)