Merge commit 'ac0e54fda9305cc7d149007f5b512bb8619f7c78'

* commit 'ac0e54fda9305cc7d149007f5b512bb8619f7c78':
  rtpdec: Add const to string parameters in internal fmtp parsing functions

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-24 23:38:14 +01:00
commit 499da717b8
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ static const uint8_t start_sequence[] = { 0, 0, 0, 1 };
static void parse_profile_level_id(AVFormatContext *s,
PayloadContext *h264_data,
char *value)
const char *value)
{
char buffer[3];
// 6 characters=3 bytes, in hex.

View File

@ -96,7 +96,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
return data->pos < data->len;
}
static int parse_fmtp_config(AVStream *st, char *value)
static int parse_fmtp_config(AVStream *st, const char *value)
{
int len = ff_hex_to_data(NULL, value), i, ret = 0;
GetBitContext gb;

View File

@ -98,7 +98,7 @@ static void free_context(PayloadContext *data)
av_freep(&data);
}
static int parse_fmtp_config(AVCodecContext *codec, char *value)
static int parse_fmtp_config(AVCodecContext *codec, const char *value)
{
/* decode the hexa encoded parameter */
int len = ff_hex_to_data(NULL, value);