ffplay: simplify picture allocation
authorMarton Balint <cus@passwd.hu>
Sat, 1 Sep 2012 15:10:35 +0000 (17:10 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 11 Sep 2012 20:15:37 +0000 (22:15 +0200)
commit99b01e458c268cf18ac0981e644e0f835957498a
treeebf27711cee8e72fb6e358d770cf84b1780e98f9
parent255c7bb1837cd0cdc454108df9d3fc79cf363bb5
ffplay: simplify picture allocation

This also makes sure the aspect ratio of the picture is set before allocating
the picture, this way video_open can calculate with the correct aspect ratio
even for the first frame.

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