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>
Fri, 25 Nov 2016 21:21:33 +0000 (22:21 +0100)
commit7d0cc12a565db47c6fca16177b273c4c11efdea8
treee40476d7004835c2c7626f491d5b09a2ec170be1
parentde031809f3a001f1c31eace1ff6e42355c87b9bc
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>
(cherry picked from commit fdb8c455b637f86e2e85503b7e090fa448164398)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mxfdec.c