mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
pvfdec: drop pointless casting of buffer in ff_get_line()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
642a655f7d
commit
d85854b269
@ -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…
x
Reference in New Issue
Block a user