Skip to content
Snippets Groups Projects
Commit 46ad9ac9 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtpdec_h264: Move a leftover comment into h264_handle_packet_stap_a

parent a335ed76
No related branches found
No related tags found
No related merge requests found
...@@ -182,6 +182,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt, ...@@ -182,6 +182,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt,
uint8_t *dst = NULL; uint8_t *dst = NULL;
int ret; int ret;
// first we are going to figure out the total size
for (pass = 0; pass < 2; pass++) { for (pass = 0; pass < 2; pass++) {
const uint8_t *src = buf; const uint8_t *src = buf;
int src_len = len; int src_len = len;
...@@ -301,7 +302,6 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data, ...@@ -301,7 +302,6 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
// consume the STAP-A NAL // consume the STAP-A NAL
buf++; buf++;
len--; len--;
// 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, pkt, buf, len);
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment