[FFmpeg-devel] Fix OS/2 build break in rtsp.c and rtpproto.c

Dave Yeo daveryeo
Wed Mar 10 08:07:52 CET 2010


Hi, the build is dying here,

CC    libavformat/rtpproto.o
libavformat/rtpproto.c: In function 'rtp_read':
libavformat/rtpproto.c:197: error: storage size of 'tv' isn't known
libavformat/rtpproto.c:197: warning: unused variable 'tv'
make: *** [libavformat/rtpproto.o] Error 1
[...]
libavformat/rtsp.c: In function 'ff_rtsp_connect':
libavformat/rtsp.c:1389: error: 'socklen_t' undeclared (first use in 
this function)
libavformat/rtsp.c:1389: error: (Each undeclared identifier is reported 
only once
libavformat/rtsp.c:1389: error: for each function it appears in.)
libavformat/rtsp.c:1389: error: expected ';' before 'peer_len'
libavformat/rtsp.c:1461: error: 'peer_len' undeclared (first use in this 
function)
make: *** [libavformat/rtsp.o] Error 1

attached patch fixes. Should this be split into two?
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtfix.diff
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100309/70b49d30/attachment.bin>



More information about the ffmpeg-devel mailing list