[FFmpeg-devel] dv_read_seek over 2GB fix

Maksym Veremeyenko verem
Fri Jun 15 20:13:00 CEST 2007


Dear Developers!

I have problem with seeking in raw dv stream over 2 GB file position. 
The problem goes from incorrect type conversion in dv_read_seek.

If i seek to position 2147616000 in file (0x0000000080020500), 
'dv_read_seek' return as result value of seeking to position converting 
to signed integer -2147351296 (0x80020500) that is treated by 
av_seek_frame as negative value (incorrect) and begin to use 
'av_seek_frame_generic'.

Attached patch seems fix this bug.

-- 
________________________________________
Maksym Veremeyenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv_read_seek_over_2gb_fix.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070615/3caaeeee/attachment.bin>



More information about the ffmpeg-devel mailing list