[FFmpeg-devel] [PATCH] Mask away AVSEEK_FORCE properly in some checks in url_fseek()
Benoit Fouet
benoit.fouet
Wed Mar 24 11:42:07 CET 2010
On Tue, 23 Mar 2010 15:46:54 +0100 Michael Niedermayer wrote:
> 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
>
> [...]
Applied
Ben
More information about the ffmpeg-devel
mailing list