[FFmpeg-devel] bug in avoi.c, repost from ffmpeg-user at mplayerhq.hu

Michael Niedermayer michaelni
Sun Feb 15 20:43:20 CET 2009


On Thu, Feb 05, 2009 at 04:49:31PM +0100, Erik Van Grunderbeeck wrote:
> I think there's a file seek bug in libavformat\avio.c
> 
>  
> 
> Line 94
> 
>  
> 
>         if(!uc->is_streamed && url_seek(uc, 0, SEEK_SET) < 0)
> 
>  
> 
> should read
> 
>  
> 
>         if(!uc->is_streamed && up->url_seek(uc, 0, SEEK_SET) < 0)
> 
>  
> 
>  
> 
> Not seeking on correct protocol will use the general seek, and thus the file
> handle is invalid. A windows debug build will assert there.

this is no bugreport, it is no patch and it does not provide any inforation
on how to reproduce 

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20090215/79afdeeb/attachment.pgp>



More information about the ffmpeg-devel mailing list