summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-30 20:50:04 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-30 20:50:24 +0100
commitd0c2cb4ab79de2fec3e1d0ad415670434cd1fc5d (patch)
tree39395089311e19a1e0065642b7c39ad011f88679
parent8fd2d9424a350a38780f956ce24bab25f034c3db (diff)
avcodec: use AV_INPUT_BUFFER_MIN_SIZE (ref #351)
-rw-r--r--modules/avcodec/encode.c2
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;