[FFmpeg-devel] [PATCH 3/4] avformat/movenc: replace use of av_copy_packet_side_data()
James Almer
jamrial at gmail.com
Mon Sep 25 04:06:11 EEST 2017
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/movenc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index aa0b60c345..0e98b93b2c 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -449,7 +449,8 @@ concatenate:
memcpy(info->pkt.data + info->pkt.size - pkt->size, pkt->data, pkt->size);
info->num_blocks += num_blocks;
info->pkt.duration += pkt->duration;
- if ((ret = av_copy_packet_side_data(&info->pkt, pkt)) < 0)
+ ret = av_packet_copy_side_data(&info->pkt, pkt);
+ if (ret < 0)
return ret;
if (info->num_blocks != 6)
return 0;
--
2.14.1
More information about the ffmpeg-devel
mailing list