[MPlayer-cvslog] r38649 - trunk/libmpdemux/demux_film.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:08 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:08 2024
New Revision: 38649
Log:
libmpdemux/demux_film: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/libmpdemux/demux_film.c
Modified: trunk/libmpdemux/demux_film.c
==============================================================================
--- trunk/libmpdemux/demux_film.c Sat Sep 21 12:30:07 2024 (r38648)
+++ trunk/libmpdemux/demux_film.c Sat Sep 21 12:30:08 2024 (r38649)
@@ -157,7 +157,7 @@ static int demux_film_fill_buffer(demuxe
free(buf);
}
else {/* for 16bit */
- unsigned short* tmp = dp->buffer;
+ unsigned short* tmp = (unsigned short *)dp->buffer;
unsigned short* buf = malloc(film_chunk.chunk_size);
for(i = 0; i < film_chunk.chunk_size/4; i++) {
buf[i*2] = tmp[i];
More information about the MPlayer-cvslog
mailing list