# HG changeset patch # User michael # Date 1070203542 0 # Node ID 753ca0c449138bc432925cc708dfd3651d90d598 # Parent d480f7e36b7442413f4349aad5657e0a94fe4a9c ffrv20 decoder diff -r d480f7e36b74 -r 753ca0c44913 etc/codecs.conf --- 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 diff -r d480f7e36b74 -r 753ca0c44913 libmpcodecs/vd_ffmpeg.c --- 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;