ref: 3f8b11515f7a9576e1eb05d209a163e0cc03b4c3
parent: ad92a28629a17990ea930ee0fe0945e56a138f6e
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Feb 7 18:14:12 EST 2024
vpx decoder: print error detail
--- a/decoder_vpx.c
+++ b/decoder_vpx.c
@@ -38,7 +38,7 @@
for(res = 0; res >= 0 && (res = Sread(d->s, &sf)) == 0 && sf.sz > 0;){
start = nanosec();
if((res = vpx_codec_decode(&a->ctx, sf.buf, sf.sz, NULL, 0)) != 0){
- werrstr("vpx_codec_decode failed");
+ werrstr("vpx_codec_decode failed: %s", vpx_codec_error_detail(&a->ctx));
break;
}
d->decodetime = nanosec() - start;