mxfdec: fix NULL pointer dereference in mxf_read_packet_old
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 17 Nov 2016 21:53:51 +0000 (22:53 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 22 Nov 2016 23:40:52 +0000 (00:40 +0100)
commitfdb8c455b637f86e2e85503b7e090fa448164398
tree750edb0e22599e888a6231cae82648bf5cbfb000
parent3ee59939a1c128b65fb65fcba1640786789f88c0
mxfdec: fix NULL pointer dereference in mxf_read_packet_old

Metadata streams have priv_data set to NULL.

Reviewed-by: Josh de Kock <josh@itanimul.li>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mxfdec.c