[FFmpeg-devel] [Patch] Fix seeking in DV when filesize is unknown

Michael Niedermayer michaelni
Tue Mar 23 15:52:25 CET 2010


On Tue, Mar 23, 2010 at 02:37:38PM +0100, Tomas H?rdin wrote:
> Good evening
> 
> This patch makes the DV demuxer able to seek even if the file size is
> unknown. It simply removes the check for max_offset if size < 0. Without
> this patch seeking is always performed to offset = 0, which isn't very
> useful.
> 
> Patch attached and tested. 
> 
> /Tomas

>  dv.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> c3238b689be3f3349b25a9ba66b5072a236f95c0  dv.patch
> diff --git a/libavformat/dv.c b/libavformat/dv.c

ok

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

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- 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/de7e1a9f/attachment.pgp>



More information about the ffmpeg-devel mailing list