[FFmpeg-devel] [PATCH] Check return value of avio_seek and avoid modifying

Joakim Plate elupus at ecce.se
Tue Sep 13 00:25:23 CEST 2011


Since i was working through the read_seek implementations i did a once over
for checking return values for read_seek and avoiding modifying state.

I suppose it should be split into separate patches for each demuxer.
Atleast for the ones moving code around abit.

fate still passes, even thou it probably would have been better if there
was some test's for situations like these (files with index in front but
cut short for example).

/Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-return-value-of-avio_seek-and-avoid-modifying-.patch
Type: text/x-patch
Size: 13413 bytes
Desc: Attached file: 0003-Check-return-value-of-avio_seek-and-avoid-modifying-.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110913/9153db52/attachment.bin>


More information about the ffmpeg-devel mailing list