FFmpeg theora decoder support

It works only with libavformat demuxer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15824 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2005-06-26 20:28:12 +00:00
parent 0a4c99abd9
commit d477750980
2 changed files with 4 additions and 2 deletions

View File

@ -1264,7 +1264,8 @@ videocodec ffvp3
videocodec fftheora
info "FFmpeg Theora"
status untested
fourcc theo,Thra
fourcc theo
fourcc Thra theo
format 0xFFFC
driver ffmpeg
dll "theora"

View File

@ -336,7 +336,8 @@ static int init(sh_video_t *sh){
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);