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>
Sat, 26 Nov 2016 23:38:57 +0000 (00:38 +0100)
commit1c282152c1c7ca23c388ecb04e9997030fbba19a
treef71ba6fb88e572a3adf3105f827dd0d0763e624b
parent4ffd5805af4a8734d238e561daa63c7b3be5eedb
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