Commit d85854b2 authored by Paul B Mahol's avatar Paul B Mahol

pvfdec: drop pointless casting of buffer in ff_get_line()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 642a655f
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment