Mercurial > mplayer.hg
comparison libmpcodecs/vd_ffmpeg.c @ 11847:f5effe037458
Use fli decoder from libavcodec
author | rtognimp |
---|---|
date | Sun, 25 Jan 2004 17:38:16 +0000 |
parents | 6d19216b4f2c |
children | e1e01dea7c35 |
comparison
equal
deleted
inserted
replaced
11846:e3c3d01e9b86 | 11847:f5effe037458 |
---|---|
285 sh->format == mmioFOURCC('W','M','V','2') || | 285 sh->format == mmioFOURCC('W','M','V','2') || |
286 sh->format == mmioFOURCC('A','S','V','1') || | 286 sh->format == mmioFOURCC('A','S','V','1') || |
287 sh->format == mmioFOURCC('A','S','V','2') || | 287 sh->format == mmioFOURCC('A','S','V','2') || |
288 sh->format == mmioFOURCC('V','S','S','H') || | 288 sh->format == mmioFOURCC('V','S','S','H') || |
289 sh->format == mmioFOURCC('M','S','Z','H') || | 289 sh->format == mmioFOURCC('M','S','Z','H') || |
290 sh->format == mmioFOURCC('Z','L','I','B') | 290 sh->format == mmioFOURCC('Z','L','I','B') || |
291 sh->format == mmioFOURCC('F','L','I','C') | |
291 )) | 292 )) |
292 { | 293 { |
293 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER); | 294 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER); |
294 avctx->extradata = malloc(avctx->extradata_size); | 295 avctx->extradata = malloc(avctx->extradata_size); |
295 memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size); | 296 memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size); |