[FFmpeg-devel] [patch] error codes for http/tcp

The Wanderer inverseparadox
Thu Jul 26 12:54:30 CEST 2007


Ronald S. Bultje wrote:

> Hi,
> 
> On 7/25/07, The Wanderer <inverseparadox at comcast.net> wrote:
> 
>> Ronald S. Bultje wrote:
>>> Would anyone with a Linux or something GNU'y have some time to
>>> test the above and then review+apply it? Really, all you have to
>>> do is see if resolve_host() still works, e.g. ffplay $uri and
>>> ensure it still works (and errors out if you give an invalid
>>> $uri).

>> os_support.c: In function 'resolve_host':
>> os_support.c:66: error: 'name' undeclared (first use in this function)
> 
> This one should work then. Thanks for testing.

==
gcc -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall 
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls 
-Wno-pointer-sign -O3 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched" 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched" 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched"/libavutil 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched"/libavcodec 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched"/libavformat 
-I"/home/wanderer/text/src/svn/ffmpeg/ffmpeg-patched"/libswscale 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE 
-DHAVE_AV_CONFIG_H -c -o ffserver.o ffserver.c
ffserver.c: In function ?parse_ffconfig?:
ffserver.c:3836: error: too few arguments to function ?resolve_host?
ffserver.c:3854: error: too few arguments to function ?resolve_host?
ffserver.c:4295: error: too few arguments to function ?resolve_host?
ffserver.c:4306: error: too few arguments to function ?resolve_host?
ffserver.c:4346: error: too few arguments to function ?resolve_host?
make: *** [ffserver.o] Error 1
==

Whether or not there would be any other, similar errors later in the
build process I don't know.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the ffmpeg-devel mailing list