From: Andriy Gelman <andriy.gel...@gmail.com>

---
 libavcodec/avpacket.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
index 8f0603df78..6ae092ed31 100644
--- a/libavcodec/avpacket.c
+++ b/libavcodec/avpacket.c
@@ -44,6 +44,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
     pkt->flags                = 0;
     pkt->stream_index         = 0;
     pkt->buf                  = NULL;
+    pkt->size                 = 0;
     pkt->side_data            = NULL;
     pkt->side_data_elems      = 0;
 }
-- 
2.21.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to