[FFmpeg-devel] [PATCHv2] ffplay: dynamically allocate filename buffer

Marton Balint cus at passwd.hu
Sun Sep 27 01:42:33 CEST 2015


On Sat, 26 Sep 2015, Ganesh Ajjanagadde wrote:

> 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 at gmail.com>
> ---
> ffplay.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)

Applied, thanks.

Marton


More information about the ffmpeg-devel mailing list