changeset 11541:753ca0c44913

ffrv20 decoder
author michael
date Sun, 30 Nov 2003 14:45:42 +0000
parents d480f7e36b74
children 85e503ddf65f
files etc/codecs.conf libmpcodecs/vd_ffmpeg.c
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sun Nov 30 13:07:40 2003 +0000
+++ b/etc/codecs.conf	Sun Nov 30 14:45:42 2003 +0000
@@ -1104,6 +1104,14 @@
   dll rv10
   out YV12,I420,IYUV
 
+videocodec ffrv20
+  info "FFmpeg RV20 decoder"
+  status untested
+  fourcc RV20,rv20
+  driver ffmpeg
+  dll rv20
+  out YV12,I420,IYUV
+  
 videocodec ffvp3
   info "FFmpeg's VP3-Codec"
   status untested
--- a/libmpcodecs/vd_ffmpeg.c	Sun Nov 30 13:07:40 2003 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Nov 30 14:45:42 2003 +0000
@@ -251,7 +251,9 @@
 #endif
     }
     if(   sh->format == mmioFOURCC('R', 'V', '1', '0')
-       || sh->format == mmioFOURCC('R', 'V', '1', '3')){
+       || sh->format == mmioFOURCC('R', 'V', '1', '3')
+       || sh->format == mmioFOURCC('R', 'V', '2', '0')
+       ){
         avctx->extradata_size= 8;
         avctx->extradata = malloc(avctx->extradata_size);
         if(sh->bih->biSize!=sizeof(*sh->bih)+8){
@@ -677,7 +679,8 @@
 
 //    if(sh->ds->demuxer->type == DEMUXER_TYPE_REAL){
     if(   sh->format == mmioFOURCC('R', 'V', '1', '0')
-       || sh->format == mmioFOURCC('R', 'V', '1', '3'))
+       || sh->format == mmioFOURCC('R', 'V', '1', '3')
+       || sh->format == mmioFOURCC('R', 'V', '2', '0'))
     if(sh->bih->biSize==sizeof(*sh->bih)+8){
         int i;
         dp_hdr_t *hdr= (dp_hdr_t*)data;