Merge commit '0de07510844517b615ef2a2e2916f6391ad88687'
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Feb 2015 11:56:08 +0000 (12:56 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Feb 2015 11:56:08 +0000 (12:56 +0100)
* commit '0de07510844517b615ef2a2e2916f6391ad88687':
  rtpdec_h264: Make reusable functions non-static

Conflicts:
libavformat/rtpdec_formats.h
libavformat/rtpdec_h264.c

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

@@@ -35,10 -35,16 +35,18 @@@ int ff_h263_handle_packet(AVFormatConte
                            AVStream *st, AVPacket *pkt, uint32_t *timestamp,
                            const uint8_t *buf, int len, uint16_t seq, int flags);
  
 -int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
+ int ff_h264_parse_sprop_parameter_sets(AVFormatContext *s,
+                                        uint8_t **data_ptr, int *size_ptr,
+                                        const char *value);
++int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
+                                      const uint8_t *buf, int len,
+                                      int start_skip, int *nal_counters,
+                                      int nal_mask);
 +extern RTPDynamicProtocolHandler ff_ac3_dynamic_handler;
  extern RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler;
  extern RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler;
 +extern RTPDynamicProtocolHandler ff_dv_dynamic_handler;
  extern RTPDynamicProtocolHandler ff_g726_16_dynamic_handler;
  extern RTPDynamicProtocolHandler ff_g726_24_dynamic_handler;
  extern RTPDynamicProtocolHandler ff_g726_32_dynamic_handler;
@@@ -179,7 -179,7 +179,7 @@@ static int sdp_parse_fmtp_config_h264(A
      return 0;
  }
  
- static int h264_handle_packet_stap_a(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
 -int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
++int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
                                       const uint8_t *buf, int len,
                                       int start_skip, int *nal_counters,
                                       int nal_mask)
@@@ -315,8 -315,8 +315,8 @@@ static int h264_handle_packet(AVFormatC
          // consume the STAP-A NAL
          buf++;
          len--;
-         result = h264_handle_packet_stap_a(ctx, data, pkt, buf, len, 0,
-                                            NAL_COUNTERS, NAL_MASK);
 -        result = ff_h264_handle_aggregated_packet(ctx, pkt, buf, len, 0,
++        result = ff_h264_handle_aggregated_packet(ctx, data, pkt, buf, len, 0,
+                                                   NAL_COUNTERS, NAL_MASK);
          break;
  
      case 25:                   // STAP-B