diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2020-09-07 14:01:30 -0400 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-09-08 09:35:00 +0200 |
commit | 3265be5a91fd681835c610cd790a74e97dd2bb8b (patch) | |
tree | f883f1c878e1a472aee493c7a9fb356f5e3731ee /edid-decode.cpp | |
parent | 9541a323d1b5a4e22a116b9b3bf08439cddfc438 (diff) |
edid-decode: push errors from parse_edid to stderr
The web page that runs the emscripten variant of this program shows
stderr separately. Direct error messages that way.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'edid-decode.cpp')
-rw-r--r-- | edid-decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp index a4997c4..3b205ed 100644 --- a/edid-decode.cpp +++ b/edid-decode.cpp @@ -1236,7 +1236,7 @@ extern "C" int parse_edid(const char *input) options[OptPreferredTimings] = 1; options[OptNativeTimings] = 1; state = edid_state(); - int ret = edid_from_file(input); + int ret = edid_from_file(input, stderr); return ret ? ret : state.parse_edid(); } #endif |