Fw: build problems with current mplayer

George R Goffe <[email protected]> Fri, 22 Mar 2024 13:22:49 +0000 (UTC)
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
Howdy,

I'm attempting to build mplayer from source (the repos) and am experiencing build problems. Builds have succeeded in the past but now don't seem to work any more. My gcc seems to have "incompatible-pointer-types]" turned on. I have turned this switch off which produces other errors.

Perhaps I'm doing something wrong? For the life of me, I don't see my error.

Can someone help me please?


mplayer.c: In function 'main':
mplayer.c:3539:41: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
 3539 |                 stream_write_buffer(os, &in_size, 4);
      |                                         ^~~~~~~~
      |                                         |
      |                                         int *
In file included from ./mp_core.h:26,
                 from gui/interface.h:23,
                 from mplayer.c:73:
./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
  203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
      |                                      ~~~~~~~~~~~~~~~^~~

_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng