[FFmpeg-devel] [PATCH]lavf/img2: Allow reading svg image sequences

Carl Eugen Hoyos cehoyos at ag.or.at
Wed May 17 12:03:42 EEST 2017


Hi!

I believe attached patch is necessary to allow reading svg sequences.

Please comment, Carl Eugen
-------------- next part --------------
From 4c2d49dbb1167d613528f5dd72883a218ad46b02 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Date: Wed, 17 May 2017 10:59:36 +0200
Subject: [PATCH] lavf/img2: Add svg and svgz to allow reading image
 sequences.

---
 libavformat/img2.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/img2.c b/libavformat/img2.c
index 29df4f0..8432cc0 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -65,6 +65,8 @@ const IdStrMap ff_img_tags[] = {
     { AV_CODEC_ID_SUNRAST,    "im24"     },
     { AV_CODEC_ID_SUNRAST,    "im32"     },
     { AV_CODEC_ID_SUNRAST,    "sunras"   },
+    { AV_CODEC_ID_SVG,        "svg"      },
+    { AV_CODEC_ID_SVG,        "svgz"     },
     { AV_CODEC_ID_JPEG2000,   "j2c"      },
     { AV_CODEC_ID_JPEG2000,   "jp2"      },
     { AV_CODEC_ID_JPEG2000,   "jpc"      },
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list