[vlc-devel] commit: Verbosely report EOF ( Rafaël Carré )
git version control
git at videolan.org
Mon Mar 31 15:24:35 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar 31 15:25:09 2008 +0200| [d902372231370939c6d52137c9d4f61a928d84a4]
Verbosely report EOF
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d902372231370939c6d52137c9d4f61a928d84a4
---
modules/codec/ffmpeg/demux.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/codec/ffmpeg/demux.c b/modules/codec/ffmpeg/demux.c
index 7ea987a..0f74c34 100644
--- a/modules/codec/ffmpeg/demux.c
+++ b/modules/codec/ffmpeg/demux.c
@@ -497,7 +497,10 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence )
if( i_absolute > i_size )
i_absolute = i_size;
if( stream_Tell( p_demux->s ) >= i_size )
+ {
+ msg_Err( p_demux, "Seeking too far : EOF?" );
return -1;
+ }
}
if( stream_Seek( p_demux->s, i_absolute ) )
More information about the vlc-devel
mailing list