mirror of https://code.videolan.org/videolan/vlc
avformat: demux: fix incompatible-pointer-types warning
Warning treated as error on some configuration. Too bad av_stream_get_side_data() is not returning a void *...
This commit is contained in:
parent
63357faa16
commit
d7b792f7da
|
@ -188,8 +188,9 @@ static void get_rotation(es_format_t *fmt, AVStream *s)
|
|||
static void get_dovi_config(es_format_t *fmt, AVStream *s)
|
||||
{
|
||||
#if LIBAVUTIL_VERSION_CHECK( 57, 16, 100 )
|
||||
AVDOVIDecoderConfigurationRecord *cfg;
|
||||
cfg = av_stream_get_side_data(s, AV_PKT_DATA_DOVI_CONF, NULL);
|
||||
AVDOVIDecoderConfigurationRecord *cfg =
|
||||
(AVDOVIDecoderConfigurationRecord *)
|
||||
av_stream_get_side_data(s, AV_PKT_DATA_DOVI_CONF, NULL);
|
||||
if (!cfg)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue