comparison libmpcodecs/vd_ffmpeg.c @ 10774:3a6ed2ad244d

FFASV2
author michael
date Mon, 01 Sep 2003 08:29:54 +0000
parents 57bdcdb061d7
children 98dc548dbf2d
comparison
equal deleted inserted replaced
10773:012eeac10e16 10774:3a6ed2ad244d
266 (sh->format == mmioFOURCC('M','4','S','2') || 266 (sh->format == mmioFOURCC('M','4','S','2') ||
267 sh->format == mmioFOURCC('M','P','4','S') || 267 sh->format == mmioFOURCC('M','P','4','S') ||
268 sh->format == mmioFOURCC('H','F','Y','U') || 268 sh->format == mmioFOURCC('H','F','Y','U') ||
269 sh->format == mmioFOURCC('W','M','V','2') || 269 sh->format == mmioFOURCC('W','M','V','2') ||
270 sh->format == mmioFOURCC('A','S','V','1') || 270 sh->format == mmioFOURCC('A','S','V','1') ||
271 sh->format == mmioFOURCC('A','S','V','2') ||
271 sh->format == mmioFOURCC('V','S','S','H') 272 sh->format == mmioFOURCC('V','S','S','H')
272 )) 273 ))
273 { 274 {
274 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER); 275 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);
275 avctx->extradata = malloc(avctx->extradata_size); 276 avctx->extradata = malloc(avctx->extradata_size);