Mercurial > mplayer.hg
changeset 35903:389d43c448b3
Add missing strings.h #includes for strcasecmp().
line wrap: on
line diff
--- a/asxparser.c Sun Mar 17 22:21:01 2013 +0000 +++ b/asxparser.c Sun Mar 17 22:47:17 2013 +0000 @@ -22,6 +22,7 @@ #include <stdio.h> #include <stdarg.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include "playtree.h"
--- a/bstr.c Sun Mar 17 22:21:01 2013 +0000 +++ b/bstr.c Sun Mar 17 22:47:17 2013 +0000 @@ -17,6 +17,7 @@ */ #include <string.h> +#include <strings.h> #include <libavutil/avutil.h> #include <libavutil/common.h>
--- a/codec-cfg.c Sun Mar 17 22:21:01 2013 +0000 +++ b/codec-cfg.c Sun Mar 17 22:47:17 2013 +0000 @@ -40,6 +40,7 @@ #include <ctype.h> #include <assert.h> #include <string.h> +#include <strings.h> #include "config.h" #include "mp_msg.h"
--- a/command.c Sun Mar 17 22:21:01 2013 +0000 +++ b/command.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,6 +20,7 @@ #include <inttypes.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include "config.h" #include "command.h"
--- a/gui/dialog/fileselect.c Sun Mar 17 22:21:01 2013 +0000 +++ b/gui/dialog/fileselect.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include <strings.h> #include <sys/stat.h> #include <glob.h> #include <unistd.h>
--- a/gui/dialog/preferences.c Sun Mar 17 22:21:01 2013 +0000 +++ b/gui/dialog/preferences.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <sys/stat.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h>
--- a/input/input.c Sun Mar 17 22:21:01 2013 +0000 +++ b/input/input.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> +#include <strings.h> #include <stdio.h> #include <unistd.h> #include <errno.h>
--- a/libaf/format.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libaf/format.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <inttypes.h> #include <limits.h>
--- a/libao2/ao_oss.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libao2/ao_oss.c Sun Mar 17 22:47:17 2013 +0000 @@ -29,6 +29,7 @@ #include <fcntl.h> #include <errno.h> #include <string.h> +#include <strings.h> #include "config.h" #include "mp_msg.h"
--- a/libmenu/menu.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmenu/menu.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include <strings.h> #include <fcntl.h> #include <unistd.h>
--- a/libmenu/menu_filesel.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmenu/menu_filesel.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <dirent.h> #include <errno.h> #include <string.h> +#include <strings.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h>
--- a/libmenu/menu_param.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmenu/menu_param.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <dirent.h> #include <errno.h> #include <string.h> +#include <strings.h> #include <sys/types.h> #include <sys/stat.h> #include <ctype.h>
--- a/libmpcodecs/ae_toolame.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/ae_toolame.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <inttypes.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <sys/types.h> #include <toolame.h>
--- a/libmpcodecs/ae_twolame.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/ae_twolame.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <inttypes.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <sys/types.h> #include <twolame.h>
--- a/libmpcodecs/vd_ffmpeg.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Mar 17 22:47:17 2013 +0000 @@ -18,6 +18,7 @@ #include <stdio.h> #include <stdlib.h> +#include <strings.h> #include <assert.h> #include <time.h>
--- a/libmpcodecs/ve_lavc.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/ve_lavc.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <math.h> #include <limits.h> #include <time.h>
--- a/libmpcodecs/ve_x264.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/ve_x264.c Sun Mar 17 22:47:17 2013 +0000 @@ -28,6 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <errno.h> #include "config.h"
--- a/libmpcodecs/ve_xvid4.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/ve_xvid4.c Sun Mar 17 22:47:17 2013 +0000 @@ -28,6 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <errno.h> #include <math.h> #include <limits.h>
--- a/libmpcodecs/vf_palette.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/vf_palette.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <inttypes.h> #include "config.h"
--- a/libmpcodecs/vf_zrmjpeg.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpcodecs/vf_zrmjpeg.c Sun Mar 17 22:47:17 2013 +0000 @@ -36,6 +36,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <inttypes.h> #include "config.h"
--- a/libmpdemux/demux_mf.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpdemux/demux_mf.c Sun Mar 17 22:47:17 2013 +0000 @@ -18,6 +18,8 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> +#include <strings.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h>
--- a/libmpdemux/demux_viv.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpdemux/demux_viv.c Sun Mar 17 22:47:17 2013 +0000 @@ -24,6 +24,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> /* strtok */ +#include <strings.h> #include "config.h" #include "mp_msg.h"
--- a/libmpdemux/demuxer.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpdemux/demuxer.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include <sys/types.h>
--- a/libmpdemux/extension.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpdemux/extension.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include "config.h" #include "mp_msg.h"
--- a/libmpdemux/muxer_mpeg.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libmpdemux/muxer_mpeg.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,6 +20,7 @@ #include <stdlib.h> #include <inttypes.h> #include <string.h> +#include <strings.h> #include <sys/types.h> #include "config.h"
--- a/libvo/vo_aa.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_aa.c Sun Mar 17 22:47:17 2013 +0000 @@ -31,6 +31,7 @@ #include <stdarg.h> #include <time.h> #include <string.h> +#include <strings.h> #include <errno.h> #include "config.h"
--- a/libvo/vo_dfbmga.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_dfbmga.c Sun Mar 17 22:47:17 2013 +0000 @@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include "config.h" #include "video_out.h"
--- a/libvo/vo_dxr2.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_dxr2.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,6 +20,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/stat.h>
--- a/libvo/vo_dxr3.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_dxr3.c Sun Mar 17 22:47:17 2013 +0000 @@ -29,6 +29,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <fcntl.h> #include <stdio.h> #include <time.h>
--- a/libvo/vo_matrixview.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_matrixview.c Sun Mar 17 22:47:17 2013 +0000 @@ -25,6 +25,7 @@ #include "config.h" #include <stdint.h> +#include <strings.h> #include "mp_msg.h" #include "subopt-helper.h"
--- a/libvo/vo_vdpau.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_vdpau.c Sun Mar 17 22:47:17 2013 +0000 @@ -33,6 +33,7 @@ */ #include <stdio.h> +#include <strings.h> #include "config.h" #include "sub/ass_mp.h"
--- a/libvo/vo_zr.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vo_zr.c Sun Mar 17 22:47:17 2013 +0000 @@ -24,6 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include <fcntl.h> #include <errno.h>
--- a/libvo/vosub_vidix.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/vosub_vidix.c Sun Mar 17 22:47:17 2013 +0000 @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <errno.h> #include "config.h"
--- a/libvo/x11_common.c Sun Mar 17 22:21:01 2013 +0000 +++ b/libvo/x11_common.c Sun Mar 17 22:47:17 2013 +0000 @@ -30,6 +30,7 @@ #include "x11_common.h" #include <string.h> +#include <strings.h> #include <unistd.h> #include <assert.h>
--- a/loader/dshow/DS_VideoDecoder.c Sun Mar 17 22:21:01 2013 +0000 +++ b/loader/dshow/DS_VideoDecoder.c Sun Mar 17 22:47:17 2013 +0000 @@ -44,6 +44,7 @@ #endif #include <stdio.h> #include <stdlib.h> // labs +#include <strings.h> // strcmp((const char*)info.dll,...) is used instead of (... == ...) // so Arpi could use char* pointer in his simplified DS_VideoDecoder class
--- a/loader/ext.c Sun Mar 17 22:21:01 2013 +0000 +++ b/loader/ext.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <errno.h> #include <fcntl.h> #include <string.h> +#include <strings.h> #include <stdarg.h> #include <ctype.h>
--- a/loader/win32.c Sun Mar 17 22:21:01 2013 +0000 +++ b/loader/win32.c Sun Mar 17 22:47:17 2013 +0000 @@ -53,6 +53,7 @@ #include "path.h" #include <stdlib.h> +#include <strings.h> #include <assert.h> #include <stdarg.h> #include <ctype.h>
--- a/m_config.c Sun Mar 17 22:21:01 2013 +0000 +++ b/m_config.c Sun Mar 17 22:47:17 2013 +0000 @@ -25,6 +25,7 @@ #include <stdio.h> #include <errno.h> #include <string.h> +#include <strings.h> #ifdef MP_DEBUG #include <assert.h> #endif
--- a/m_option.c Sun Mar 17 22:21:01 2013 +0000 +++ b/m_option.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> +#include <strings.h> #include <math.h> #include <stdio.h> #include <stdarg.h>
--- a/m_struct.c Sun Mar 17 22:21:01 2013 +0000 +++ b/m_struct.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> +#include <strings.h> #include "m_option.h" #include "m_struct.h"
--- a/mencoder.c Sun Mar 17 22:21:01 2013 +0000 +++ b/mencoder.c Sun Mar 17 22:47:17 2013 +0000 @@ -50,6 +50,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <sys/time.h> #if defined(__MINGW32__) || defined(__CYGWIN__) #include <windows.h>
--- a/mp_msg.c Sun Mar 17 22:21:01 2013 +0000 +++ b/mp_msg.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,6 +20,7 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> +#include <strings.h> #include "config.h" #include "osdep/getch2.h"
--- a/mplayer.c Sun Mar 17 22:21:01 2013 +0000 +++ b/mplayer.c Sun Mar 17 22:47:17 2013 +0000 @@ -25,6 +25,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <time.h> #include <unistd.h> #include <assert.h>
--- a/osdep/priority.c Sun Mar 17 22:21:01 2013 +0000 +++ b/osdep/priority.c Sun Mar 17 22:47:17 2013 +0000 @@ -25,8 +25,8 @@ #ifndef __OS2__ #include <windows.h> #endif - #include <string.h> +#include <strings.h> #include "mp_msg.h" #include "help_mp.h"
--- a/parser-mpcmd.c Sun Mar 17 22:21:01 2013 +0000 +++ b/parser-mpcmd.c Sun Mar 17 22:47:17 2013 +0000 @@ -24,6 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <errno.h> #ifdef MP_DEBUG
--- a/playtree.c Sun Mar 17 22:21:01 2013 +0000 +++ b/playtree.c Sun Mar 17 22:47:17 2013 +0000 @@ -22,6 +22,7 @@ #include "config.h" #include <stdlib.h> #include <string.h> +#include <strings.h> #include <stdio.h> #include <unistd.h> #include <errno.h>
--- a/playtreeparser.c Sun Mar 17 22:21:01 2013 +0000 +++ b/playtreeparser.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,6 +23,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include <strings.h> #include <assert.h> #include <errno.h> #include <sys/types.h>
--- a/stream/asf_streaming.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/asf_streaming.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #include <errno.h> #include <limits.h>
--- a/stream/http.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/http.c Sun Mar 17 22:47:17 2013 +0000 @@ -25,6 +25,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> #if !HAVE_WINSOCK2_H
--- a/stream/librtsp/rtsp.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/librtsp/rtsp.c Sun Mar 17 22:47:17 2013 +0000 @@ -34,6 +34,7 @@ #include <assert.h> #include "config.h" #include <string.h> +#include <strings.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h>
--- a/stream/network.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/network.c Sun Mar 17 22:47:17 2013 +0000 @@ -23,8 +23,8 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> - #include <errno.h> #include <ctype.h>
--- a/stream/stream_bd.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/stream_bd.c Sun Mar 17 22:47:17 2013 +0000 @@ -22,6 +22,8 @@ #include <stdio.h> #include <limits.h> #include <ctype.h> +#include <strings.h> + #include "libavutil/common.h" #include "libavutil/aes.h" #include "libavutil/sha.h"
--- a/stream/stream_dvd.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/stream_dvd.c Sun Mar 17 22:47:17 2013 +0000 @@ -20,8 +20,8 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <unistd.h> -#include <string.h> #include "config.h" #include "mp_msg.h"
--- a/stream/stream_pvr.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/stream_pvr.c Sun Mar 17 22:47:17 2013 +0000 @@ -30,6 +30,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <ctype.h> #include <sys/time.h> #include <errno.h>
--- a/stream/tv.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/tv.c Sun Mar 17 22:47:17 2013 +0000 @@ -29,6 +29,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <ctype.h> #include <sys/time.h>
--- a/stream/tvi_dshow.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/tvi_dshow.c Sun Mar 17 22:47:17 2013 +0000 @@ -75,6 +75,8 @@ #include "config.h" #include <stdio.h> +#include <strings.h> + #include "libmpcodecs/img_format.h" #include "libmpcodecs/dec_teletext.h" #include "libaf/af_format.h"
--- a/stream/tvi_v4l.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/tvi_v4l.c Sun Mar 17 22:47:17 2013 +0000 @@ -48,6 +48,7 @@ #include <sys/mman.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <pthread.h> #ifdef HAVE_SYS_SYSINFO_H #include <sys/sysinfo.h>
--- a/stream/tvi_v4l2.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/tvi_v4l2.c Sun Mar 17 22:47:17 2013 +0000 @@ -40,6 +40,7 @@ #include <pthread.h> #include <stdio.h> #include <string.h> +#include <strings.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/time.h>
--- a/stream/url.c Sun Mar 17 22:21:01 2013 +0000 +++ b/stream/url.c Sun Mar 17 22:47:17 2013 +0000 @@ -21,6 +21,7 @@ */ #include <string.h> +#include <strings.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h>
--- a/sub/font_load_ft.c Sun Mar 17 22:21:01 2013 +0000 +++ b/sub/font_load_ft.c Sun Mar 17 22:47:17 2013 +0000 @@ -29,6 +29,7 @@ #include <stdlib.h> #include <math.h> #include <string.h> +#include <strings.h> #ifdef CONFIG_ICONV #include <iconv.h>
--- a/sub/spudec.c Sun Mar 17 22:21:01 2013 +0000 +++ b/sub/spudec.c Sun Mar 17 22:47:17 2013 +0000 @@ -36,6 +36,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <strings.h> #include <math.h> #include "sub.h" #include "libvo/video_out.h"
--- a/sub/subassconvert.c Sun Mar 17 22:21:01 2013 +0000 +++ b/sub/subassconvert.c Sun Mar 17 22:47:17 2013 +0000 @@ -19,6 +19,7 @@ */ #include <string.h> +#include <strings.h> #include <stdint.h> #include <stdlib.h> #include <stdio.h>
--- a/sub/subreader.c Sun Mar 17 22:21:01 2013 +0000 +++ b/sub/subreader.c Sun Mar 17 22:47:17 2013 +0000 @@ -24,6 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <ctype.h> #include <sys/types.h>