1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

rmdec: remove useless ap parameter from rm_read_header_old()

This commit is contained in:
Anton Khirnov
2011-07-16 09:43:33 +02:00
parent 2f07cb4d39
commit 412b4367c5

View File

@@ -371,7 +371,7 @@ skip:
return 0; return 0;
} }
static int rm_read_header_old(AVFormatContext *s, AVFormatParameters *ap) static int rm_read_header_old(AVFormatContext *s)
{ {
RMDemuxContext *rm = s->priv_data; RMDemuxContext *rm = s->priv_data;
AVStream *st; AVStream *st;
@@ -399,7 +399,7 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
tag = avio_rl32(pb); tag = avio_rl32(pb);
if (tag == MKTAG('.', 'r', 'a', 0xfd)) { if (tag == MKTAG('.', 'r', 'a', 0xfd)) {
/* very old .ra format */ /* very old .ra format */
return rm_read_header_old(s, ap); return rm_read_header_old(s);
} else if (tag != MKTAG('.', 'R', 'M', 'F')) { } else if (tag != MKTAG('.', 'R', 'M', 'F')) {
return AVERROR(EIO); return AVERROR(EIO);
} }