Commit 8db7e186 authored by Rafaël Carré's avatar Rafaël Carré

http output: fix off-by-one

(Coverity report 1187490)
parent 489aea84
...@@ -113,7 +113,7 @@ struct sout_access_out_sys_t ...@@ -113,7 +113,7 @@ struct sout_access_out_sys_t
/* Definitions for the Metacube2 protocol, used to communicate with Cubemap. */ /* Definitions for the Metacube2 protocol, used to communicate with Cubemap. */
#define METACUBE2_SYNC "cube!map" /* 8 bytes long. */ static const uint8_t METACUBE2_SYNC[8] = {'c', 'u', 'b', 'e', '!', 'm', 'a', 'p'};
#define METACUBE_FLAGS_HEADER 0x1 #define METACUBE_FLAGS_HEADER 0x1
#define METACUBE_FLAGS_NOT_SUITABLE_FOR_STREAM_START 0x2 #define METACUBE_FLAGS_NOT_SUITABLE_FOR_STREAM_START 0x2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment