1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/loader
reimar fe6c4fcae2 cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr)
Replace malloc+memset by calloc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32181 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32182 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32183 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace some sizeof(type) by sizeof(*pointer)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32184 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32186 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32187 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32188 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace sizoef(type) by sizeof(*ptrvar).
Besides being consistent with FFmpeg style,
this reduces the size of a patch to rename these
types to not conflict with the windows.h definitions.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32189 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32191 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32192 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace sizeof(type) by sizeof(*ptrvar)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32193 b3059339-0415-0410-9bf9-f77b7e298cf2

Remove a useless cast.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32194 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace sizeof(type)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32195 b3059339-0415-0410-9bf9-f77b7e298cf2

Remove a useless cast.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32196 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace several sizeof(WAVEFORMATEX)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32197 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace one more instance of sizeof(WAVEFORMATEX); fix compilation.
patch by Clément Bœsch, ubitux gmail com

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32199 b3059339-0415-0410-9bf9-f77b7e298cf2

Avoid some pointless uses of sizeof() and one related cast.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32200 b3059339-0415-0410-9bf9-f77b7e298cf2

Merge one malloc() + memset() invocation into calloc().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32202 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32203 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace sizeof(WAVEFORMATEX) occurrences.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32205 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace malloc+memset by calloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32206 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace sizeof(BITMAPINFOHEADER)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32207 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:16:46 +02:00
..
dmo Merge svn changes up to r30643 2010-03-10 00:00:06 +02:00
dshow loader/dshow/graph.h: Add prototypes for exported FilterGraph_ functions 2010-11-02 04:11:43 +02:00
qtx loader/qtx: cleanup 2010-11-02 04:07:42 +02:00
wine Silence a gcc warning about char trying to be packed. 2010-05-13 20:48:55 +00:00
afl.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
com.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
debug.h
drv.c Rename get_path.[ch] --> path.[ch]. 2010-03-20 23:38:27 +00:00
drv.h Split codec path related code into a separate file to fix Windows build. 2010-03-18 20:44:01 +00:00
elfdll.c loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
ext.c Do not cast the results of malloc/calloc/realloc. 2010-02-26 15:01:37 +00:00
ext.h
ldt_keeper.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
ldt_keeper.h loader: Move fs_seg extern variable declaration to ldt_keeper.h 2010-11-02 04:16:45 +02:00
loader.h loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
module.c loader: Disable loading codecs from the current directory 2010-11-02 04:15:49 +02:00
pe_image.c
pe_resource.c
qt_comp_template.c loader: Rename loader/qt_comp.h --> loader/qt_comp_template.c 2010-11-02 04:10:48 +02:00
qt_fv.h
registry.c Add final missing bits of CineForm HD support on Linux (via the Windows 2010-05-23 16:01:12 +00:00
registry.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
resource.c
vfl.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
win32.c loader: Move fs_seg extern variable declaration to ldt_keeper.h 2010-11-02 04:16:45 +02:00
win32.h Remove disabled AVIFILE-specific preprocessor code. 2010-02-08 10:14:42 +00:00
wineacm.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
wrapper.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
wrapper.S Merge svn changes up to r30514 2010-03-09 19:58:02 +02:00