summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h264.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-19 21:49:18 +0200
committerMartin Storsjö <martin@martin.st>2015-02-20 19:30:05 +0200
commit46ad9ac9641d1fe8292ec1f46bbd2e4456621ca7 (patch)
tree032676c21828ad859c9602fdd468e8d17223160d /libavformat/rtpdec_h264.c
parenta335ed767161c6da2815371177cfd5e40f78e5b7 (diff)
rtpdec_h264: Move a leftover comment into h264_handle_packet_stap_a
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 5ffb4c4fee..277b3cdedd 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -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;