summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/flvenc.c2
-rw-r--r--libavformat/matroskaenc.c2
-rw-r--r--libavformat/movenc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 8cc88199e9..b65c1b19a7 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -366,7 +366,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) {
ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
} else {
- put_buffer(pb, pkt->data, size);
+ put_buffer(pb, pkt->data, size);
}
put_be32(pb,size+flags_size+11); // previous tag size
flv->duration = FFMAX(flv->duration, pkt->pts + flv->delay + pkt->duration);
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 83881ed1be..a6435d19fe 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -801,7 +801,7 @@ static void mkv_write_block(AVFormatContext *s, unsigned int blockid, AVPacket *
/* nal reformating needed */
ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
} else {
- put_buffer(pb, pkt->data, pkt->size);
+ put_buffer(pb, pkt->data, pkt->size);
}
}
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b357e8c85c..b0945bb18d 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1774,7 +1774,7 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt)
/* nal reformating needed */
ff_avc_parse_nal_units(pb, pkt->data, pkt->size);
} else {
- put_buffer(pb, pkt->data, size);
+ put_buffer(pb, pkt->data, size);
}
put_flush_packet(pb);