]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Separate the packet fetching from the data reading, so that the data reading
authorrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 13 Dec 2008 17:18:11 +0000 (17:18 +0000)
committerrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 13 Dec 2008 17:18:11 +0000 (17:18 +0000)
commitcc28165e8459e60bf9d971b3a91a98be5148695b
tree370afeaf8cb0434821b36d56d6a3d5dc2dce10bb
parentf29c74e3955b10f923f468a09137090e975dd7e7
Separate the packet fetching from the data reading, so that the data reading
function is assured to parse at most one packet. This makes this function
useful for ASF data packet parsing in a "push-mode" in addition to the
current "pull-mode", and therefore allows for use of these functions in,
for example, the RTSP demuxer (for MS-RTSP support). Tested to give identical
output before and after for regular ASF playback, also see discussion in the
ML thread "[PATCH] asf.c: move packet_time_start=0 statement". Testsuite also
works after the patch, tested by Benoit Fouet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16108 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/asf.c