[FFmpeg-devel] [PATCH v1 3/3] avformat/movenc: replace the deprecated av_copy_packet_side_data

lance.lmwang at gmail.com lance.lmwang at gmail.com
Wed Sep 4 18:27:12 EEST 2019


From: Limin Wang <lance.lmwang at gmail.com>

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index edddfee..503f099 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -518,7 +518,7 @@ 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)
+        if ((ret = av_packet_copy_props(&info->pkt, pkt)) < 0)
             goto end;
         if (info->num_blocks != 6)
             goto end;
-- 
2.6.4



More information about the ffmpeg-devel mailing list