Merge commit '0307cc2253
'
* commit '0307cc2253
':
rtpdec: pass an AVFormatContext to ff_parse_fmtp()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
19b9e07ef5
8 changed files with 39 additions and 29 deletions
|
@ -208,7 +208,8 @@ static int aac_parse_packet(AVFormatContext *ctx, PayloadContext *data,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int parse_fmtp(AVStream *stream, PayloadContext *data,
|
||||
static int parse_fmtp(AVFormatContext *s,
|
||||
AVStream *stream, PayloadContext *data,
|
||||
char *attr, char *value)
|
||||
{
|
||||
AVCodecContext *codec = stream->codec;
|
||||
|
@ -246,7 +247,7 @@ static int parse_sdp_line(AVFormatContext *s, int st_index,
|
|||
return 0;
|
||||
|
||||
if (av_strstart(line, "fmtp:", &p))
|
||||
return ff_parse_fmtp(s->streams[st_index], data, p, parse_fmtp);
|
||||
return ff_parse_fmtp(s, s->streams[st_index], data, p, parse_fmtp);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue