ffplay: reset audio_pkt_temp when opening audio
authorMarton Balint <cus@passwd.hu>
Tue, 13 Mar 2012 23:54:01 +0000 (00:54 +0100)
committerMarton Balint <cus@passwd.hu>
Mon, 19 Mar 2012 21:54:40 +0000 (22:54 +0100)
commita2c5be631962a8d0dd59b12fa58292d8c042236c
tree3e3416366c02228f379f785a6aadaf678f60dfe8
parent2b07f572af65aa411a24e87348671fad7cd10fe9
ffplay: reset audio_pkt_temp when opening audio

Otherwise we may use the remaining data of the last packet from the previous
audio stream. Fixes bug #951.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c