Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 11541:753ca0c44913
ffrv20 decoder
| author | michael |
|---|---|
| date | Sun, 30 Nov 2003 14:45:42 +0000 |
| parents | 523570adaad5 |
| children | bcf9862f61b2 |
line wrap: on
line diff
--- 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;
