[cecd-devel] [PATCH 5/6 v2] [cecd] handle LIBCEC_ERROR_OTHER from libcec_decode_message
Status: Beta
Brought to you by:
pbatard
|
From: Florian F. <f.f...@gm...> - 2012-01-03 13:09:10
|
In such a case do not answer anything as required by the specification since the message header is invalid. --- Changes since v1: - updated according to patch 2 cecd/cecd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cecd/cecd.c b/cecd/cecd.c index f96347b..17c81eb 100644 --- a/cecd/cecd.c +++ b/cecd/cecd.c @@ -978,6 +978,7 @@ int main(int argc, char** argv) buffer[3] = CEC_ABORT_UNRECOGNIZED; break; case LIBCEC_ERROR_INVALID_PARAM: + case LIBCEC_ERROR_OTHER: len = 0; break; default: -- 1.7.5.4 |