changeset 15064:17ccd26b78cf

LOCO support via lavc
author rtognimp
date Thu, 07 Apr 2005 22:04:08 +0000
parents f1dd354576a4
children cb95ad389291
files etc/codecs.conf libmpcodecs/vd_ffmpeg.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Thu Apr 07 21:39:59 2005 +0000
+++ b/etc/codecs.conf	Thu Apr 07 22:04:08 2005 +0000
@@ -138,6 +138,15 @@
   dll "aasc"
   out BGR24
 
+videocodec ffloco
+  info "LOCO video decoder"
+  status working
+  fourcc LOCO
+  driver ffmpeg
+  dll "loco"
+  out 422P,YV12,BGR32 query
+  out BGR24 flip,query
+
 videocodec ffqtrle
   info "QuickTime Animation (RLE)"
   status working
--- a/libmpcodecs/vd_ffmpeg.c	Thu Apr 07 21:39:59 2005 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Thu Apr 07 22:04:08 2005 +0000
@@ -335,7 +335,8 @@
 	 sh->format == mmioFOURCC('M','P','4','V') ||
 	 sh->format == mmioFOURCC('F','L','I','C') ||
 	 sh->format == mmioFOURCC('S','N','O','W') ||
-	 sh->format == mmioFOURCC('a','v','c','1')
+	 sh->format == mmioFOURCC('a','v','c','1') ||
+	 sh->format == mmioFOURCC('L','O','C','O')
          ))
     {
 	avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);