[FFmpeg-cvslog] ffm: disable adjust_write_index()

Michael Niedermayer git at videolan.org
Mon May 7 02:47:25 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May  7 02:42:00 2012 +0200| [16b9156b7ec3eedf8d5a109f1fb1a103a8b5d6f0] | committer: Michael Niedermayer

ffm: disable adjust_write_index()

This code can in its current form not work with ffserver
Fixes Ticket1249

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16b9156b7ec3eedf8d5a109f1fb1a103a8b5d6f0
---

 libavformat/ffmdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 6bcb98c..0c943fb 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -285,7 +285,7 @@ static int ffm_read_header(AVFormatContext *s)
     /* get also filesize */
     if (pb->seekable) {
         ffm->file_size = avio_size(pb);
-        if (ffm->write_index)
+        if (ffm->write_index && 0)
             adjust_write_index(s);
     } else {
         ffm->file_size = (UINT64_C(1) << 63) - 1;



More information about the ffmpeg-cvslog mailing list