diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-12 12:59:47 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-19 00:41:16 +0100 |
commit | 9224b1f6b3b554dfc5e941bf106bed06816b328c (patch) | |
tree | 912845377ac6e3df4f91d0e84646a005a4daf135 /libavcodec/webp_parser.c | |
parent | 5edcdfc318b62b8327565183e8f56b3f8dd2dd16 (diff) | |
download | ffmpeg-9224b1f6b3b554dfc5e941bf106bed06816b328c.tar.gz |
avformat/mxfdec: Don't use wrong type of pointer
If one of the two results of a ternary conditional is a pointer to void,
the type of the whole conditional operator is a pointer to void, even
when the other possible result is not a pointer to void. This loophole
in the type system has allowed mxf_read_local_tags to have a pointer of
type pointer to MXFMetadataSet that actually points to an MXFContext.
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/webp_parser.c')
0 files changed, 0 insertions, 0 deletions