[FFmpeg-devel] [PATCH] tests/audiomatch: removes a warning when compiling tests/audiomatch

2020-10-18 Thread liuqi05
the warning message: warning: using floating point absolute value function 'fabs' when argument is of integer type use FFABS to set the absolute value. Signed-off-by: liuqi05 --- tests/audiomatch.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/audi

[FFmpeg-devel] [PATCH] doc/muxers: correct decribe of hls_enc_key and hls_enc_iv

2020-12-08 Thread liuqi05
From: Steven Liu because hls_enc_key and hls_enc_iv get 16byte char for example: -hls_enc_key 0123456789abcdef -hls_enc_iv abcdefghijklmnop Signed-off-by: liuqi05 --- doc/muxers.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi

[FFmpeg-devel] [PATCH v2] doc/muxers: correct description of hls_enc_key and hls_enc_iv

2020-12-08 Thread liuqi05
From: Steven Liu because hls_enc_key and hls_enc_iv get 16byte char for example: -hls_enc_key 0123456789abcdef -hls_enc_iv abcdefghijklmnop Signed-off-by: liuqi05 --- doc/muxers.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi

[FFmpeg-devel] [PATCH 1/2] avformat/hls: update comment of file description

2020-12-23 Thread liuqi05
reference link to rfc8216 Signed-off-by: liuqi05 --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 0a522a4595..a987996810 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -23,7 +23,7 @@ /** * @file

[FFmpeg-devel] [PATCH 2/2] avformat/hlsproto: update comment of file description

2020-12-23 Thread liuqi05
reference link to rfc8216 Signed-off-by: liuqi05 --- libavformat/hlsproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsproto.c b/libavformat/hlsproto.c index de45f771d6..9aa211f648 100644 --- a/libavformat/hlsproto.c +++ b/libavformat/hlsproto.c @@ -22,7

[FFmpeg-devel] [PATCH] patcheck: warn missing whitespace between ) and {

2020-12-30 Thread liuqi05
Signed-off-by: liuqi05 --- tools/patcheck | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/patcheck b/tools/patcheck index fe52938f29..ca7b57f29f 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -101,6 +101,7 @@ hiegrep2 "$ERE_TYPES" '(static|av_|ff_|typedef|:\+[^

[FFmpeg-devel] [PATCH 1/3] avformat/dashdec: check init_section before use it.

2021-01-12 Thread liuqi05
: liuqi05 --- libavformat/dashdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 693fc7372b..5f9b9ba882 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1992,7 +1992,10 @@ static int

[FFmpeg-devel] [PATCH 3/3] avformat/dashdec: rename variable name for more readable

2021-01-12 Thread liuqi05
Rename is_init_section_common_audio to is_init_section_common_subtitle for is_common_init_section_exist(c->subtitles, c->n_subtitles). Because it is checked to subtitles, not audio. Signed-off-by: liuqi05 --- libavformat/dashdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[FFmpeg-devel] [PATCH 2/3] avformat/dashdec: fix code style in is_common_init_section_exist

2021-01-12 Thread liuqi05
make the code block short when it too long. Signed-off-by: liuqi05 --- libavformat/dashdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 5f9b9ba882..85b5f147e8 100644 --- a/libavformat/dashdec.c +++ b/libavformat

[FFmpeg-devel] [PATCH v2 1/2] avformat/dashdec: check init_section before use it.

2021-01-17 Thread liuqi05
is_common_init_section_exist, make the code block short when it too long. fix ticket: 9062 Signed-off-by: liuqi05 --- libavformat/dashdec.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 693fc7372b..9262e9c0a4 100644 --- a

[FFmpeg-devel] [PATCH v2 2/2] avformat/dashdec: rename variable name for more readable

2021-01-17 Thread liuqi05
Rename is_init_section_common_audio to is_init_section_common_subtitle for is_common_init_section_exist(c->subtitles, c->n_subtitles). Because it is checked to subtitles, not audio. Signed-off-by: liuqi05 --- libavformat/dashdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)