shithub: treason

Download patch

ref: 28ef2a222c95ee8826d9eed152964bfcc90e30a7
parent: 66d57ced36e86949df7793fe4c21826951934fea
author: Sigrid Haflínudóttir <[email protected]>
date: Wed Sep 23 12:32:23 EDT 2020

decoder: increase (4 → 8) the max number of pre-decoded frames

--- a/decoder.c
+++ b/decoder.c
@@ -29,7 +29,7 @@
 
 	d->timebase = (double)s->timebase.num/(double)s->timebase.denum;
 	d->s = s;
-	d->frames = chancreate(sizeof(Frame*), 4);
+	d->frames = chancreate(sizeof(Frame*), 8);
 	d->finished = chancreate(sizeof(void*), 0);
 
 	for(i = 0; i < nelem(ops); i++){