[FFmpeg-devel] [PATCH v5 1/2] libavcodec/webp: add support for animated WebP decoding

2020-09-10 Thread Josef Zlomek
supported. The background color is specified only as BGRA in the WebP file so it is converted to YUVA if YUV formats are output. Signed-off-by: Josef Zlomek --- Changelog| 1 + libavcodec/codec_desc.c | 3 +- libavcodec/version.h | 2 +- libavcodec/webp.c| 710

[FFmpeg-devel] [PATCH v5 2/2] libavformat/webp: add WebP demuxer

2020-09-10 Thread Josef Zlomek
to 10 fps, similarly to other WebP libraries and browsers. The fate suite was updated accordingly. Signed-off-by: Josef Zlomek --- Changelog | 1 + doc/demuxers.texi | 28 + libavformat/Makefile| 1 + l

[FFmpeg-devel] [PATCH v4 2/2] libavformat/webp: add WebP demuxer

2020-08-27 Thread Josef Zlomek
and marks the key frames properly. The loop count is ignored by default (same behaviour as animated PNG and GIF), it may be enabled by the option '-ignore_loop 0'. Signed-off-by: Josef Zlomek --- Changelog | 1 + doc/demuxers.texi

[FFmpeg-devel] [PATCH v4 1/2] libavcodec/webp: add support for animated WebP decoding

2020-08-27 Thread Josef Zlomek
supported. The background color is specified only as BGRA in the WebP file so it is converted to YUVA if YUV formats are output. Signed-off-by: Josef Zlomek --- Changelog| 1 + libavcodec/codec_desc.c | 3 +- libavcodec/webp.c| 710

[FFmpeg-devel] [PATCH v3 1/2] libavcodec: add support for animated WebP decoding

2020-08-26 Thread Josef Zlomek
supported. The background color is specified only as BGRA in the WebP file so it is converted to YUVA if YUV formats are output. Signed-off-by: Josef Zlomek --- Changelog| 1 + libavcodec/codec_desc.c | 3 +- libavcodec/webp.c| 710

[FFmpeg-devel] [PATCH v3 2/2] libavformat: add WebP demuxer

2020-08-26 Thread Josef Zlomek
and marks the key frames properly. The loop count is ignored by default (same behaviour as animated PNG and GIF), it may be enabled by the option '-ignore_loop 0'. Signed-off-by: Josef Zlomek --- Changelog | 1 + doc/demuxers.texi

[FFmpeg-devel] [PATCH v2 1/2] libavcodec: add support for animated WebP decoding

2020-07-29 Thread Josef Zlomek
supported. The background color is specified only as BGRA in the WebP file so it is converted to YUVA if YUV formats are output. Signed-off-by: Josef Zlomek --- Changelog| 1 + libavcodec/codec_desc.c | 3 +- libavcodec/webp.c| 790

[FFmpeg-devel] [PATCH v2 2/2] libavformat: add WebP demuxer

2020-07-29 Thread Josef Zlomek
Fixes: 4907 Adds support for demuxing of animated WebP. The WebP demuxer splits the input stream into packets containing one frame. It also sets the timing information and marks the key frames properly. Signed-off-by: Josef Zlomek --- Changelog| 1 + doc/demuxers.texi

[FFmpeg-devel] [PATCH v3 2/2] avformat/tests/url: add test cases for handling of double dot

2020-07-27 Thread Josef Zlomek
added test cases Signed-off-by: Josef Zlomek --- libavformat/tests/url.c | 11 ++- tests/ref/fate/url | 9 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/libavformat/tests/url.c b/libavformat/tests/url.c index 1d961a1b43..029be6ff10 100644 --- a

[FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-27 Thread Josef Zlomek
last path component in output buffer is removed - if the component is not empty, it is added to the output buffer No temporary buffers are used anymore. Also the path containing no '/' after '://' is returned as it is. The duplicate logic was removed from ff_make_absolute_url. S

[FFmpeg-devel] [PATCH v2 1/2] avformat/url: fix logic for removing ".." path components

2020-07-27 Thread Josef Zlomek
ast path component in tmp_path is removed - if the component is not empty, it is added to tmp_path The duplicate logic was removed from ff_make_absolute_url. Signed-off-by: Josef Zlomek --- libavformat/url.c | 90 ++- 1 file changed, 43 insertions(+),

[FFmpeg-devel] [PATCH v2 2/2] avformat/tests/url: add test cases for handling of double dot

2020-07-27 Thread Josef Zlomek
Signed-off-by: Josef Zlomek --- libavformat/tests/url.c | 6 ++ tests/ref/fate/url | 6 ++ 2 files changed, 12 insertions(+) diff --git a/libavformat/tests/url.c b/libavformat/tests/url.c index 1d961a1b43..a27a875892 100644 --- a/libavformat/tests/url.c +++ b/libavformat/tests

[FFmpeg-devel] [PATCH 2/3] avformat/tests/url: add test cases for handling of double dot

2020-07-27 Thread Josef Zlomek
Signed-off-by: Josef Zlomek --- libavformat/tests/url.c | 2 ++ tests/ref/fate/url | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libavformat/tests/url.c b/libavformat/tests/url.c index 1d961a1b43..d7f14da49e 100644 --- a/libavformat/tests/url.c +++ b/libavformat/tests/url.c

[FFmpeg-devel] [PATCH 3/3] avformat/url: remove duplicate call to strstr

2020-07-27 Thread Josef Zlomek
Signed-off-by: Josef Zlomek --- libavformat/url.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libavformat/url.c b/libavformat/url.c index ccaa28a1ed..28d12fd3de 100644 --- a/libavformat/url.c +++ b/libavformat/url.c @@ -186,14 +186,11 @@ void

[FFmpeg-devel] [PATCH 1/3] avformat/url: fix logic for removing ".." path components

2020-07-27 Thread Josef Zlomek
ast path component in tmp_path is removed - if the component is not empty, it is added to tmp_path The duplicate logic was removed from ff_make_absolute_url. Signed-off-by: Josef Zlomek --- libavformat/url.c | 70 +-- 1 file changed, 31 insertions(+),

[FFmpeg-devel] [PATCH 2/2] libavformat: add WebP demuxer

2020-07-07 Thread Josef Zlomek
Fixes: 4907 Adds support for demuxing of animated WebP. The WebP demuxer splits the input stream into packets containing one frame. It also sets the timing information properly. Signed-off-by: Josef Zlomek --- Changelog| 1 + doc/demuxers.texi| 28 libavformat

[FFmpeg-devel] [PATCH 1/2] libavcodec: add support for animated WebP decoding

2020-07-07 Thread Josef Zlomek
supported. The background color is specified only as BGRA in the WebP file so it is converted to YUVA if YUV formats are output. Signed-off-by: Josef Zlomek --- Changelog| 1 + libavcodec/version.h | 2 +- libavcodec/webp.c| 548