libav: don't molest user pointer

pull/287/head
nick black 5 years ago
parent c23b4196a2
commit f450c1261a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -142,7 +142,7 @@ AVFrame* ncvisual_decode(ncvisual* nc, int* averr){
} }
nc->dstwidth = cols; nc->dstwidth = cols;
nc->dstheight = rows * 2; nc->dstheight = rows * 2;
nc->ncp = ncplane_new(nc->ncobj, rows, cols, nc->placey, nc->placex, nc); nc->ncp = ncplane_new(nc->ncobj, rows, cols, nc->placey, nc->placex, NULL);
if(nc->ncp == NULL){ if(nc->ncp == NULL){
*averr = AVERROR(ENOMEM); *averr = AVERROR(ENOMEM);
return NULL; return NULL;

Loading…
Cancel
Save