History

h264: print errors better

Sigrid Haflínudóttir committed 6 years ago

Commit 05551a71 parent 44f4ed01 file · +1 −2Browse files

Unified · Split

decoder_h264.c+1−2
@@ -36,7 +36,7 @@ decode(void *x) · 35 unmodified lines
3636 off = 0;
3737 next:
3838 if((res = h264bsdDecode(&a->c, sf.buf+off, sf.sz-off, 0, &used)) < 0){
39− werrstr("h264bsdDecode: %d", res);
39+ werrstr("h264bsdDecode: %r (%d)", res);
4040 break;
4141 }
4242 off += used;
@@ -75,7 +75,6 @@ next: · 32 unmodified lines
7575
7676 case H264BSD_ERROR:
7777 res = -1;
78− werrstr("H264BSD_ERROR");
7978 break;
8079
8180 case H264BSD_PARAM_SET_ERROR:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t