diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/avcodec/encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/avcodec/encode.c b/modules/avcodec/encode.c index d0d5d83..d1461bb 100644 --- a/modules/avcodec/encode.c +++ b/modules/avcodec/encode.c @@ -513,7 +513,7 @@ int encode_update(struct videnc_state **vesp, const struct vidcodec *vc, goto out; } - st->mb = mbuf_alloc(FF_MIN_BUFFER_SIZE * 20); + st->mb = mbuf_alloc(AV_INPUT_BUFFER_MIN_SIZE * 20); st->mb_frag = mbuf_alloc(1024); if (!st->mb || !st->mb_frag) { err = ENOMEM; |