ffplay: make step variable a member of the VideoState struct
authorMarton Balint <cus@passwd.hu>
Sun, 21 Aug 2011 13:06:08 +0000 (15:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Aug 2011 18:33:02 +0000 (20:33 +0200)
commit5db1f94b8d4516714ba4f07d0b72816a6d76ce31
tree7de9eaaa01032d69f8d2bfc59d3f5c4acacf240f
parent27667d28a67c59e83c90722360c7b440762b90bb
ffplay: make step variable a member of the VideoState struct

Getting rid of globals are generally a good thing. The patch also makes
toggle_pause and step_to_next_frame use a function parameter instead of
the global cur_stream variable.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c