OSDN Git Service

Set video width/height and create audio stream in read_packet instead of
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 12 Mar 2009 11:47:50 +0000 (11:47 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 12 Mar 2009 11:47:50 +0000 (11:47 +0000)
commit15969b55d150212d2b1c5dbd6a2054e54ddd4d57
treedfe28299dc8cbc4ada1729df217b1334ca695809
parentfc34a08d77dd7609ebd5fee754f2bbe493e36538
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).

Originally committed as revision 17945 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/idroq.c