Merge commit 'a3cc519d1f43bf93cc29fd53284a2b8aa6189a9a'
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Feb 2015 11:32:28 +0000 (12:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Feb 2015 11:32:28 +0000 (12:32 +0100)
* commit 'a3cc519d1f43bf93cc29fd53284a2b8aa6189a9a':
  rtpdec_h264: Prepare h264_handle_packet_stap_a for sharing with hevc

Conflicts:
libavformat/rtpdec_h264.c

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

@@@ -176,8 -176,9 +176,9 @@@ static int sdp_parse_fmtp_config_h264(A
      return 0;
  }
  
 -static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt,
 +static int h264_handle_packet_stap_a(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
-                                      const uint8_t *buf, int len)
+                                      const uint8_t *buf, int len,
+                                      int start_skip)
  {
      int pass         = 0;
      int total_length = 0;
@@@ -304,7 -308,7 +308,7 @@@ static int h264_handle_packet(AVFormatC
          // consume the STAP-A NAL
          buf++;
          len--;
-         result = h264_handle_packet_stap_a(ctx, data, pkt, buf, len);
 -        result = h264_handle_packet_stap_a(ctx, pkt, buf, len, 0);
++        result = h264_handle_packet_stap_a(ctx, data, pkt, buf, len, 0);
          break;
  
      case 25:                   // STAP-B