ref: 05551a759c2aaa3752fa5bcecda550bfde1e896a
parent: 44f4ed0d8f048de95984e01e33d34cff27040114
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Sep 15 11:49:43 EDT 2020
h264: print errors better
--- a/decoder_h264.c
+++ b/decoder_h264.c
@@ -36,7 +36,7 @@
off = 0;
next:
if((res = h264bsdDecode(&a->c, sf.buf+off, sf.sz-off, 0, &used)) < 0){
- werrstr("h264bsdDecode: %d", res);
+ werrstr("h264bsdDecode: %r (%d)", res);
break;
}
off += used;
@@ -75,7 +75,6 @@
case H264BSD_ERROR:
res = -1;
- werrstr("H264BSD_ERROR");
break;
case H264BSD_PARAM_SET_ERROR: