Merge commit 'ac0e54fda9305cc7d149007f5b512bb8619f7c78'
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2015 22:38:14 +0000 (23:38 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2015 22:38:19 +0000 (23:38 +0100)
* commit 'ac0e54fda9305cc7d149007f5b512bb8619f7c78':
  rtpdec: Add const to string parameters in internal fmtp parsing functions

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
libavformat/rtpdec_h264.c
libavformat/rtpdec_latm.c
libavformat/rtpdec_mpeg4.c

Simple merge
Simple merge
@@@ -93,12 -93,12 +93,12 @@@ static const AttrNameMap attr_names[] 
  
  static void free_context(PayloadContext *data)
  {
 -    av_free(data->au_headers);
 -    av_free(data->mode);
 -    av_free(data);
 +    av_freep(&data->au_headers);
 +    av_freep(&data->mode);
 +    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);