aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-07-16 09:43:33 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-17 06:58:29 +0200
commit412b4367c5b93586b42ea95a90d7c2f9f3e4b710 (patch)
treeabe3655732521ab9117c945b091204e23e13f9e5 /libavformat
parent2f07cb4d3938575d8c3c2cff83d0e1be8b68c7a8 (diff)
downloadffmpeg-412b4367c5b93586b42ea95a90d7c2f9f3e4b710.tar.gz
rmdec: remove useless ap parameter from rm_read_header_old()
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rmdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index fbc4d0cee6..69c4ffe400 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -371,7 +371,7 @@ skip:
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;
AVStream *st;
@@ -399,7 +399,7 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
tag = avio_rl32(pb);
if (tag == MKTAG('.', 'r', 'a', 0xfd)) {
/* very old .ra format */
- return rm_read_header_old(s, ap);
+ return rm_read_header_old(s);
} else if (tag != MKTAG('.', 'R', 'M', 'F')) {
return AVERROR(EIO);
}