Skip to content

Commit

Permalink
rmdec: remove useless ap parameter from rm_read_header_old()
Browse files Browse the repository at this point in the history
  • Loading branch information
elenril committed Jul 17, 2011
1 parent 2f07cb4 commit 412b436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libavformat/rmdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static int rm_read_index(AVFormatContext *s)
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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 412b436

Please sign in to comment.