[FFmpeg-devel] [PATCH] Check return value of more avio_seek calls in rm/asf/avi

Joakim Plate elupus at ecce.se
Mon Sep 12 00:19:04 CEST 2011


This reduces problems when underlying protocol is not
seekable even if marked as such or if the file has been
cut short.

The move of avio_seek in avi_read_seek is to avoiding modifying
state if the seek would fail.
---
 libavformat/asfdec.c |   10 +++++++---
 libavformat/avidec.c |   16 ++++++++++++----
 libavformat/rmdec.c  |    4 +++-
 3 files changed, 22 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-return-value-of-more-avio_seek-calls-in-rm-asf.patch
Type: text/x-patch
Size: 3710 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110912/61b199a5/attachment.bin>


More information about the ffmpeg-devel mailing list