summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-18 17:25:21 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-06 14:27:34 +0100
commit7b734ee55dbb8476d7ad63c7daf55c534cf82d5d (patch)
tree89c68cd14f4d5ddfaf88ba36cd74d077ac7d4f5d /libavformat/img2.c
parent34efb8a169e4551326e069be47125c6c2cb7ab90 (diff)
lavf: Open PICT images with Quickdraw
Update the pictor test to use the pictor codec, as both formats share the .pic file extension.
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c3
1 files changed, 3 insertions, 0 deletions
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" },