[FFmpeg-cvslog] lavfi/frei0r: Remove duplicated pix_fmt entry

Andrew Rodland git at videolan.org
Mon Nov 16 23:50:15 EET 2020


ffmpeg | branch: master | Andrew Rodland <andrew at cleverdomain.org> | Sat Nov 14 13:10:39 2020 -0500| [04340e5e018603df5a158a5cddf81530005d8d2f] | committer: Derek Buitenhuis

lavfi/frei0r: Remove duplicated pix_fmt entry

Fixes e.g. 'ffmpeg -i input.mp4 -vf frei0r=pixeliz0r output.mp4':

    [Parsed_frei0r_0 @ 0x5585b8093280] Duplicated pixel format
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0
    Conversion failed!

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04340e5e018603df5a158a5cddf81530005d8d2f
---

 libavfilter/vf_frei0r.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 5d38405999..dd94452d10 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -338,7 +338,7 @@ static int query_formats(AVFilterContext *ctx)
             return ret;
     } else {                                   /* F0R_COLOR_MODEL_PACKED32 */
         static const enum AVPixelFormat pix_fmts[] = {
-            AV_PIX_FMT_BGRA, AV_PIX_FMT_ARGB, AV_PIX_FMT_ABGR, AV_PIX_FMT_ARGB, AV_PIX_FMT_NONE
+            AV_PIX_FMT_BGRA, AV_PIX_FMT_ARGB, AV_PIX_FMT_ABGR, AV_PIX_FMT_NONE
         };
         formats = ff_make_format_list(pix_fmts);
     }



More information about the ffmpeg-cvslog mailing list