summaryrefslogtreecommitdiff
path: root/libavformat/pvfdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-19 15:55:39 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-19 15:55:39 +0000
commitd85854b2691f9edeaf36ef32c2608c047636e8c0 (patch)
tree596e1b9e50d45b531ff47ec991b7a2c6cc666512 /libavformat/pvfdec.c
parent642a655f7d9a6afc97fff5f3ecd6a7ad5d53e0ca (diff)
pvfdec: drop pointless casting of buffer in ff_get_line()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/pvfdec.c')
-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,