Browse Source

pvfdec: drop pointless casting of buffer in ff_get_line()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.1
Paul B Mahol 13 years ago
parent
commit
d85854b269
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/pvfdec.c

+ 1
- 1
libavformat/pvfdec.c View File

@@ -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,


Loading…
Cancel
Save