You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Write 0 instead of seeking forward (and leaving bytes uninitalized),
fixes odd regression test failure i had. Originally committed as revision 11512 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -197,7 +197,8 @@ static void put_ebml_void(ByteIOContext *pb, uint64_t size)
|
|||||||
put_ebml_num(pb, size-1, 0);
|
put_ebml_num(pb, size-1, 0);
|
||||||
else
|
else
|
||||||
put_ebml_num(pb, size-9, 8);
|
put_ebml_num(pb, size-9, 8);
|
||||||
url_fseek(pb, currentpos + size, SEEK_SET);
|
while(url_ftell(pb) < currentpos + size)
|
||||||
|
put_byte(pb, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ebml_master start_ebml_master(ByteIOContext *pb, unsigned int elementid, uint64_t expectedsize)
|
static ebml_master start_ebml_master(ByteIOContext *pb, unsigned int elementid, uint64_t expectedsize)
|
||||||
|
Reference in New Issue
Block a user