[FFmpeg-devel] [PATCH]Associate .tga with image2

Carl Eugen Hoyos cehoyos
Wed Jul 7 11:39:20 CEST 2010


Hi!

ffmpeg -i tests/lena.pnm test.tga
should produce a targa image, imo

Please comment, Carl Eugen
-------------- next part --------------
Index: libavformat/img2.c
===================================================================
--- libavformat/img2.c	(revision 24076)
+++ libavformat/img2.c	(working copy)
@@ -442,7 +442,7 @@
     "image2",
     NULL_IF_CONFIG_SMALL("image2 sequence"),
     "",
-    "bmp,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png,ppm,sgi,tif,tiff,jp2",
+    "bmp,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png,ppm,sgi,tga,tif,tiff,jp2",
     sizeof(VideoData),
     CODEC_ID_NONE,
     CODEC_ID_MJPEG,



More information about the ffmpeg-devel mailing list