Mercurial > mplayer.hg
comparison libmpcodecs/vd_ffmpeg.c @ 13075:2af30a65a772
support for snow
author | alex |
---|---|
date | Sat, 21 Aug 2004 19:46:24 +0000 |
parents | aebedab0ecac |
children | 8be7dbcea0be |
comparison
equal
deleted
inserted
replaced
13074:dfd8b3c22c5b | 13075:2af30a65a772 |
---|---|
307 sh->format == mmioFOURCC('A','S','V','2') || | 307 sh->format == mmioFOURCC('A','S','V','2') || |
308 sh->format == mmioFOURCC('V','S','S','H') || | 308 sh->format == mmioFOURCC('V','S','S','H') || |
309 sh->format == mmioFOURCC('M','S','Z','H') || | 309 sh->format == mmioFOURCC('M','S','Z','H') || |
310 sh->format == mmioFOURCC('Z','L','I','B') || | 310 sh->format == mmioFOURCC('Z','L','I','B') || |
311 sh->format == mmioFOURCC('M','P','4','V') || | 311 sh->format == mmioFOURCC('M','P','4','V') || |
312 sh->format == mmioFOURCC('F','L','I','C') | 312 sh->format == mmioFOURCC('F','L','I','C') || |
313 sh->format == mmioFOURCC('S','N','O','W') | |
313 )) | 314 )) |
314 { | 315 { |
315 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER); | 316 avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER); |
316 avctx->extradata = malloc(avctx->extradata_size); | 317 avctx->extradata = malloc(avctx->extradata_size); |
317 memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size); | 318 memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size); |