shithub: mcfs

Download patch

ref: 74533c8ff1ab84ff0949d52c3726ccfcfc1bf76a
parent: 49dc43fd64bb77001494be6721380895f1bba971
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Dec 28 10:22:47 EST 2021

ivf: ignore av1 codec private data

--- a/ivf.c
+++ b/ivf.c
@@ -98,6 +98,8 @@
 				goto err;
 
 			if(ctx->codec.priv.sz > 0){
+				if(ctx->fmt == FmtAv01)
+					goto skip;
 				if(ctx->fmt != FmtAvc1){
 					werrstr("no idea what to do with codec private data for non-AVC1");
 					goto err;
@@ -153,6 +155,7 @@
 			}
 		}
 
+skip:
 		if(key && ctx->fmt == FmtAvc1){
 			for(i = 0; i < ctx->nps; i++)
 				ivfframe(out, ctx->ps[i].p, ctx->ps[i].n, 0, 0);