patch是:
Index: libmpdemux/demux_lavf.c
===================================================================
--- libmpdemux/demux_lavf.c (revision 23739)
+++ libmpdemux/demux_lavf.c (working copy)
@@ -142,6 +142,8 @@
pos += stream->end_pos;
else if(whence == SEEK_SET)
pos += stream->start_pos;
+ else if(whence == AVSEEK_SIZE)
+ return stream->end_pos;
else
return -1;
沒有留言:
張貼留言