--- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 05c9adb..3496bdd 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -106,7 +106,7 @@ static int dict_set_bin(AVDictionary **dict, const char *key, uint8_t *buf) { char hex[33]; - ff_data_to_hex(hex, buf, sizeof(buf), 0); + ff_data_to_hex(hex, buf, 16, 0); hex[32] = '\0'; return av_dict_set(dict, key, hex, 0); -- 2.9.2 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel