[FFmpeg-devel] [PATCH] avformat/img2: remove useless 'pix' duplicated entry.

Benoit Fouet benoit.fouet at free.fr
Fri Sep 12 16:37:26 CEST 2014


The second entry will never be selected, so let's save some bytes in the
library.
---
 libavformat/img2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/img2.c b/libavformat/img2.c
index 8002054..d6f1244 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -57,7 +57,6 @@ static const IdStrMap img_tags[] = {
     { AV_CODEC_ID_TIFF,       "tif"      },
     { AV_CODEC_ID_SGI,        "sgi"      },
     { AV_CODEC_ID_PTX,        "ptx"      },
-    { AV_CODEC_ID_BRENDER_PIX,"pix"      },
     { AV_CODEC_ID_PCX,        "pcx"      },
     { AV_CODEC_ID_SUNRAST,    "sun"      },
     { AV_CODEC_ID_SUNRAST,    "ras"      },
-- 
2.1.0.127.g0c72b98



More information about the ffmpeg-devel mailing list