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
36 off = 0;36 off = 0;
37next:37next:
38 if((res = h264bsdDecode(&a->c, sf.buf+off, sf.sz-off, 0, &used)) < 0){38 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);
40 break;40 break;
41 }41 }
42 off += used;42 off += used;
@@ -75,7 +75,6 @@ next: · 32 unmodified lines
75 75
76 case H264BSD_ERROR:76 case H264BSD_ERROR:
77 res = -1;77 res = -1;
78 werrstr("H264BSD_ERROR");
79 break;78 break;
80 79
81 case H264BSD_PARAM_SET_ERROR:80 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