From d85854b2691f9edeaf36ef32c2608c047636e8c0 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 19 Dec 2012 15:55:39 +0000 Subject: pvfdec: drop pointless casting of buffer in ff_get_line() Signed-off-by: Paul B Mahol --- libavformat/pvfdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/pvfdec.c') diff --git a/libavformat/pvfdec.c b/libavformat/pvfdec.c index 605d66580a..c678046156 100644 --- a/libavformat/pvfdec.c +++ b/libavformat/pvfdec.c @@ -37,7 +37,7 @@ static int pvf_read_header(AVFormatContext *s) int bps, channels, sample_rate; avio_skip(s->pb, 5); - ff_get_line(s->pb, (char *)&buffer, 32); + ff_get_line(s->pb, buffer, sizeof(buffer)); if (sscanf(buffer, "%d %d %d", &channels, &sample_rate, -- cgit v1.2.3