From 7b734ee55dbb8476d7ad63c7daf55c534cf82d5d Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sat, 18 Apr 2015 17:25:21 +0100 Subject: lavf: Open PICT images with Quickdraw Update the pictor test to use the pictor codec, as both formats share the .pic file extension. --- libavformat/img2.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/img2.c') diff --git a/libavformat/img2.c b/libavformat/img2.c index 2128b2ecdf..0a840f8709 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -58,6 +58,9 @@ static const IdStrMap img_tags[] = { { AV_CODEC_ID_PTX, "ptx" }, { AV_CODEC_ID_BRENDER_PIX,"pix" }, { AV_CODEC_ID_PCX, "pcx" }, + { AV_CODEC_ID_QDRAW, "pic" }, + { AV_CODEC_ID_QDRAW, "pct" }, + { AV_CODEC_ID_QDRAW, "pict" }, { AV_CODEC_ID_SUNRAST, "sun" }, { AV_CODEC_ID_SUNRAST, "ras" }, { AV_CODEC_ID_SUNRAST, "rs" }, -- cgit v1.2.3