[FFmpeg-devel] [PATCH] avcodec/packet: initialize payload size to zero
Ben Hutchinson
benhut1 at gmail.com
Wed Apr 3 10:12:35 EEST 2019
How do I unsubscribe from ffmpeg-devel?
On Tue, Apr 2, 2019 at 8:57 PM Andriy Gelman <andriy.gelman at gmail.com>
wrote:
> From: Andriy Gelman <andriy.gelman at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list