Commit 88868d81 authored by Kevin Wheatley's avatar Kevin Wheatley Committed by Michael Niedermayer

avformat/rtpdec_h264: fix compile failure with -DDEBUG

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f9240ec0
...@@ -177,7 +177,7 @@ static int sdp_parse_fmtp_config_h264(AVFormatContext *s, ...@@ -177,7 +177,7 @@ static int sdp_parse_fmtp_config_h264(AVFormatContext *s,
return 0; 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 pass = 0; int pass = 0;
...@@ -234,7 +234,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt, ...@@ -234,7 +234,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt,
return 0; return 0;
} }
static int h264_handle_packet_fu_a(AVFormatContext *ctx, AVPacket *pkt, static int h264_handle_packet_fu_a(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
const uint8_t *buf, int len) const uint8_t *buf, int len)
{ {
uint8_t fu_indicator, fu_header, start_bit, nal_type, nal; uint8_t fu_indicator, fu_header, start_bit, nal_type, nal;
...@@ -308,7 +308,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data, ...@@ -308,7 +308,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
buf++; buf++;
len--; len--;
// first we are going to figure out the total size // first we are going to figure out the total size
result = h264_handle_packet_stap_a(ctx, pkt, buf, len); result = h264_handle_packet_stap_a(ctx, data, pkt, buf, len);
break; break;
case 25: // STAP-B case 25: // STAP-B
...@@ -322,7 +322,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data, ...@@ -322,7 +322,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
break; break;
case 28: // FU-A (fragmented nal) case 28: // FU-A (fragmented nal)
result = h264_handle_packet_fu_a(ctx, pkt, buf, len); result = h264_handle_packet_fu_a(ctx, data, pkt, buf, len);
break; break;
case 30: // undefined case 30: // undefined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment