changeset 25961:354ad909efcf

add ffpcx decoder, works on my samples.
author compn
date Wed, 13 Feb 2008 21:36:27 +0000
parents 5804605d4341
children afa125da85cf
files etc/codecs.conf libmpdemux/demux_mf.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Wed Feb 13 19:21:39 2008 +0000
+++ b/etc/codecs.conf	Wed Feb 13 21:36:27 2008 +0000
@@ -177,6 +177,14 @@
   dll tiff
   out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
 
+videocodec ffpcx
+  info "FFmpeg PCX decoder"
+  status working
+  fourcc "pcx "
+  driver ffmpeg
+  dll pcx
+  out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
+
 videocodec ffpng
   info "FFmpeg PNG decoder"
   status working
--- a/libmpdemux/demux_mf.c	Wed Feb 13 19:21:39 2008 +0000
+++ b/libmpdemux/demux_mf.c	Wed Feb 13 21:36:27 2008 +0000
@@ -65,6 +65,7 @@
   { "bmp",  mmioFOURCC('b', 'm', 'p', ' ') },
   { "jpeg", mmioFOURCC('I', 'J', 'P', 'G') },
   { "jpg",  mmioFOURCC('I', 'J', 'P', 'G') },
+  { "pcx",  mmioFOURCC('p', 'c', 'x', ' ') },
   { "png",  mmioFOURCC('M', 'P', 'N', 'G') },
   { "tga",  mmioFOURCC('M', 'T', 'G', 'A') },
   { "tif",  mmioFOURCC('t', 'i', 'f', 'f') },