[FFmpeg-devel] [PATCH] Mask away AVSEEK_FORCE properly in some checks in url_fseek()
Michael Niedermayer
michaelni
Tue Mar 23 15:46:54 CET 2010
On Tue, Mar 23, 2010 at 02:45:12PM +0100, Tomas H?rdin wrote:
> On Tue, 2010-03-23 at 14:27 +0100, Michael Niedermayer wrote:
> > int force= whence & AVSEEK_FORCE;
> > whence &= ~AVSEEK_FORCE;
> > seems more readable to me
>
> Ah, yes. You're both right - prettier patch attached. I also ran make
> test, which it passed.
>
> /Tomas
> aviobuf.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> 1c627b63e680c476e972dbd9d80d7cfaa57bef0d whencefix2.patch
> diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
> index da05251..37a6f6d 100644
ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Incandescent light bulbs waste a lot of energy as heat so the EU forbids them.
Their replacement, compact fluorescent lamps, much more expensive, dont fit in
many old lamps, flicker, contain toxic mercury, produce a fraction of the light
that is claimed and in a unnatural spectrum rendering colors different than
in natural light. Ah and we now need to turn the heaters up more in winter to
compensate the lower wasted heat. Who wins? Not the environment, thats for sure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100323/2c204fd2/attachment.pgp>
More information about the ffmpeg-devel
mailing list