Move frame discarding out of the ff_rm_parse_packet() loop, and respect
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 9 Mar 2009 12:42:53 +0000 (12:42 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 9 Mar 2009 12:42:53 +0000 (12:42 +0000)
commitdc3685e12999f106dd8e576e5b7d5543d4f70fa1
treec1e2ac318a10516a85a34b3560fe4e348474708b
parentd71d64dcc1fec5fcc015366a0a668db63f138ff1
Move frame discarding out of the ff_rm_parse_packet() loop, and respect
rm->audio_pkt_cnt in case multiple packets should be read before the next
syncpoint in the file, so that ffplay -an on a file containing AAC audio
works. See "[PATCH] Make RM demuxer behave better with -an option" thread
on mailinglist.

Originally committed as revision 17908 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c