Mercurial > libavformat.hg
diff xa.c @ 4704:2b641c55e83e libavformat
Set video width/height and create audio stream in read_packet instead of
pre-parsing the file in read_header.
This avoids some code duplication and seeking, and also avoids an IO error
for small video-only files (as created during e.g. the FATE encoder test).
author | reimar |
---|---|
date | Thu, 12 Mar 2009 11:47:50 +0000 |
parents | 49c1d3b27727 |
children | a026efc0ca86 |