Move frame discarding out of the ff_rm_parse_packet() loop, and respect
commit7377c7ba544a1fdb779813609e4d8fed166e40f8
authorrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 9 Mar 2009 12:42:53 +0000 (9 12:42 +0000)
committerrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 9 Mar 2009 12:42:53 +0000 (9 12:42 +0000)
tree4064b043da4a20ca35c524d180ecc646b7b107cb
parent0ca8238c3658264b19ec38dc4513579cc46d0094
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.

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