[FFmpeg-devel] [PATCH] avcodec/avpacket: clear priv in av_init_packet()

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Feb 24 16:12:56 CET 2016


On 2/24/2016 3:10 PM, Michael Niedermayer wrote:
> This should fix leaving uninitialized pointers in priv which can confuse
> user applications.
> See: https://github.com/golang/go/issues/14426
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/avpacket.c |    1 +
>  1 file changed, 1 insertion(+)

Should be noted this is only for release branches.

LGTM, though.

- Derek


More information about the ffmpeg-devel mailing list