hyw0810

Results 2 issues of hyw0810

[`GetVideoEncoderConfigurationsResponse.Configurations`](https://github.com/use-go/onvif/blob/af24622015f9654ce53172cf2fd23b693e38d18a/media/types.go#L266) in onvif document defined as unbounded, I understand it should be defined as an array. But in the file `media/types.go` it is not defined as an array. - Onvif...

When `DEFAULT_ENCODE_KEEP_BUFFER` is 0, `strbuf_free` will cause Bus error or SIGSEGV. Please see the code below: ``` #define DEFAULT_ENCODE_KEEP_BUFFER 0 void strbuf_free(strbuf_t *s) { debug_stats(s); if (s->buf) { free(s->buf); s->buf...