Skip to content
Snippets Groups Projects
Commit 16b9156b authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffm: disable adjust_write_index()


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

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 4f5c5416
No related branches found
No related tags found
No related merge requests found
...@@ -285,7 +285,7 @@ static int ffm_read_header(AVFormatContext *s) ...@@ -285,7 +285,7 @@ static int ffm_read_header(AVFormatContext *s)
/* get also filesize */ /* get also filesize */
if (pb->seekable) { if (pb->seekable) {
ffm->file_size = avio_size(pb); ffm->file_size = avio_size(pb);
if (ffm->write_index) if (ffm->write_index && 0)
adjust_write_index(s); adjust_write_index(s);
} else { } else {
ffm->file_size = (UINT64_C(1) << 63) - 1; ffm->file_size = (UINT64_C(1) << 63) - 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment