summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/pvfdec.c2
1 files changed, 1 insertions, 1 deletions
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,