ffplay: dynamically allocate filename buffer
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 26 Sep 2015 21:09:52 +0000 (17:09 -0400)
committerMarton Balint <cus@passwd.hu>
Sat, 26 Sep 2015 23:38:46 +0000 (01:38 +0200)
commit23acb982a3c79e993ed45bffde4b1cfc574402df
treec832724c04531c2d3463bffe1108e888d29af824
parent08a7510fcad552bfcda644e4ba047605de15fab5
ffplay: dynamically allocate filename buffer

filename was set to an arbitrary 1024 characters. ffplay would thus be unable to
play files whose name exceeds that arbitrary threshold.

This patch dynamically allocates and frees the filename buffer to remove such
limitations.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c