Opened 11 years ago

Closed 11 years ago

#1203 closed defect (fixed)

Build error in libmpdemux/demux_asf.c

Reported by: daw-bugzilla@… Owned by: r_togni@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I'm guessing you'll run across this yourself, but I thought I'd submit it just in case. The Subversion head (r27304) seems to have a build error, and as a result mplayer doesn't build:

cc -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I. -W -Wall -O2 -march=native -mtune=native -pipe -g3 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -I/usr/include/freetype2 -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c
libmpdemux/demux_asf.c: In function 'asf_descrambling':
libmpdemux/demux_asf.c:56: error: 'UINT_MAX' undeclared (first use in this function)
libmpdemux/demux_asf.c:56: error: (Each undeclared identifier is reported only once
libmpdemux/demux_asf.c:56: error: for each function it appears in.)
libmpdemux/demux_asf.c:62: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c:63: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c: In function 'demux_asf_read_packet':
libmpdemux/demux_asf.c:95: warning: unused parameter 'dur'
libmpdemux/demux_asf.c: In function 'get_payload_extension_data':
libmpdemux/demux_asf.c:316: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c: In function 'demux_asf_fill_buffer':
libmpdemux/demux_asf.c:360: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c:502: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c:502: warning: signed and unsigned type in conditional expression
libmpdemux/demux_asf.c:517: warning: comparison between signed and unsigned
libmpdemux/demux_asf.c:517: warning: signed and unsigned type in conditional expression
libmpdemux/demux_asf.c:328: warning: unused parameter 'ds'
libmpdemux/demux_asf.c: In function 'demux_seek_asf':
libmpdemux/demux_asf.c:536: warning: unused parameter 'audio_delay'
make: * [libmpdemux/demux_asf.o] Error 1

At a guess, demux_asf.c (or some other header) may need a #include <limits.h>.

My apologies if you were already aware of this, or if this is an error on my part.

Change History (1)

comment:1 Changed 11 years ago by compn

  • Resolution set to fixed
  • Status changed from new to closed

fixed in svn

Note: See TracTickets for help on using tickets.