id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1123	metadata not read correctly with non-standard AVI structure	zavisko		"I have found out that ffmpeg or ffprobe recognize avi metadata tags only when avi RIFF structure is in special order:
(attached file test2.avi)
1. RIFF AVI
2. LIST hdrl
3. LIST INFO
4. LIST movi
5. idx1

if the order is different then INFO tag is not recognized and metadata are not read, for example with following order:
(attached file test1.avi)
1. RIFF AVI
2. LIST hdrl
3. LIST movi
4. idx1
5. LIST INFO

It will be great if some future version will be able to read metadata from any position in AVI. 

I have attached also a picture with structures of both files (structures.jpg)"	defect	closed	normal	avformat	git-master	fixed	AVI metadata				0	0
