changeset 15823:500f49f31630

FFmpeg theora decoder support It works only with libavformat demuxer
author rtognimp
date Sun, 26 Jun 2005 20:28:12 +0000
parents 0651bf280391
children 53231c701b29
files etc/codecs.conf libmpcodecs/vd_ffmpeg.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sun Jun 26 17:44:07 2005 +0000
+++ b/etc/codecs.conf	Sun Jun 26 20:28:12 2005 +0000
@@ -1264,7 +1264,8 @@
 videocodec fftheora
   info "FFmpeg Theora"
   status untested
-  fourcc theo,Thra
+  fourcc theo
+  fourcc Thra theo
   format 0xFFFC
   driver ffmpeg
   dll "theora"
--- a/libmpcodecs/vd_ffmpeg.c	Sun Jun 26 17:44:07 2005 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Jun 26 20:28:12 2005 +0000
@@ -336,7 +336,8 @@
 	 sh->format == mmioFOURCC('F','L','I','C') ||
 	 sh->format == mmioFOURCC('S','N','O','W') ||
 	 sh->format == mmioFOURCC('a','v','c','1') ||
-	 sh->format == mmioFOURCC('L','O','C','O')
+	 sh->format == mmioFOURCC('L','O','C','O') ||
+	 sh->format == mmioFOURCC('t','h','e','o')
          ))
     {
 	avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);