[MPlayer-cvslog] r38650 - trunk/libmpdemux/demux_lavf.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:09 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:09 2024
New Revision: 38650
Log:
libmpdemux/demux_lavf: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Sat Sep 21 12:30:08 2024 (r38649)
+++ trunk/libmpdemux/demux_lavf.c Sat Sep 21 12:30:09 2024 (r38650)
@@ -378,7 +378,7 @@ static void handle_stream(demuxer_t *dem
}
case AVMEDIA_TYPE_VIDEO:{
AVDictionaryEntry *rot = av_dict_get(st->metadata, "rotate", NULL, 0);
- const int32_t *disp_matrix = av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
+ const int32_t *disp_matrix = (const int32_t *)av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
sh_video_t* sh_video;
BITMAPINFOHEADER *bih;
sh_video=new_sh_video_vid(demuxer, i, priv->video_streams);
More information about the MPlayer-cvslog
mailing list