Mercurial > mplayer.hg
view loader/qt_comp.h @ 9787:c3b63fb0e8db
Added a test for "s->fd == NULL" to the start of "stream_fill_buffer()".
("fd" is NULL if the session is defined by a SDP file, for example.)
It turns out that this test is necessary only for Solaris, not Linux,
because in Linux, "s->eof" got set after the prior (failing) call to
"lseek()" in "stream_seek_long()". In Solaris, however, "lseek(NULL, ...)"
returns 0 (go figure!) rather than -1, so "s->eof" doesn't get set in
"stream_seek_long()".
author | rsf |
---|---|
date | Wed, 02 Apr 2003 01:46:47 +0000 |
parents | 8b905703a450 |
children | 6ac1ece1f9fe |
line wrap: on
line source
DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) DECL_COMPONENT(genericd,"GenericComponentDispatch",0) DECL_COMPONENT(stmedia,"STMediaComponentDispatch",0) DECL_COMPONENT(handlecd,"HandleComponentDispatch",0) DECL_COMPONENT(pcxcd,"PCExchangeComponentDispatch",0) DECL_COMPONENT(capcd,"CapComponentDispatch",0) DECL_COMPONENT(videocd,"VideoComponentDispatch",0) DECL_COMPONENT(soundcd,"SoundComponentDispatch",0) DECL_COMPONENT(scalingcd,"ScalingCodecDispatcher",0) DECL_COMPONENT(formatcnv,"FormatConverterDispatch",0) DECL_COMPONENT(basecd,"Base_CDComponentDispatch",1) DECL_COMPONENT(ddcd,"DD_CDComponentDispatch",0) DECL_COMPONENT(fakergb,"FakeRGBDispatcher",0) DECL_COMPONENT(rawcd,"RAW_CDComponentDispatch",0) DECL_COMPONENT(yuvsgi,"YUVSGI_CDComponentDispatch",0) DECL_COMPONENT(yuvs,"YUVS_CDComponentDispatch",0) DECL_COMPONENT(yuvu,"YUVU_CDComponentDispatch",0) DECL_COMPONENT(qdm2d,"QDM2Decompressor",0) DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) //DECL_COMPONENT(,"",0)