mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
rtpdec_h264: Move a leftover comment into h264_handle_packet_stap_a
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
a335ed7671
commit
46ad9ac964
@ -182,6 +182,7 @@ static int h264_handle_packet_stap_a(AVFormatContext *ctx, AVPacket *pkt,
|
||||
uint8_t *dst = NULL;
|
||||
int ret;
|
||||
|
||||
// first we are going to figure out the total size
|
||||
for (pass = 0; pass < 2; pass++) {
|
||||
const uint8_t *src = buf;
|
||||
int src_len = len;
|
||||
@ -301,7 +302,6 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
||||
// consume the STAP-A NAL
|
||||
buf++;
|
||||
len--;
|
||||
// first we are going to figure out the total size
|
||||
result = h264_handle_packet_stap_a(ctx, pkt, buf, len);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user