aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_viv.c
Commit message (Collapse)AuthorAge
* cleanup: remove NULL checks before free() all over the codeGravatar cboesch2010-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove #warning preprocessor directivesGravatar diego2010-11-02
| | | | | | | | The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr)Gravatar reimar2010-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Delete things related to old translation systemGravatar Uoti Urpala2010-03-10
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* translations: tweak cases that relied on concatenating adjacent stringsGravatar Uoti Urpala2010-03-07
| | | | | | | | Tweak some code parts that used to rely on string literals from translation macros being concatenated with other adjacent string literals. Break up the resulting string into independently translated parts, so that the existing translations for those parts can still be used.
* Merge svn changes up to r29412Gravatar Uoti Urpala2009-07-07
|\
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
* | Merge svn changes up to r29304Gravatar Uoti Urpala2009-07-07
|\ \
* | | Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | | Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
| | * In all demux_info_add calls change "name" to "title".Gravatar reimar2009-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently "name" and "title" are both used at random, this makes it consistent. "title" was chosen because it is less ambiguous and also the get_meta_title slave mode command uses that (there is no get_meta_name command). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| |/ | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add standard license header to all files in libmpdemux.Gravatar diego2009-05-08
|/ | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid including avcodec.h in demuxer.h (and thus many other files) just to getGravatar reimar2008-07-17
| | | | | | | | | FF_INPUT_BUFFER_PADDING_SIZE. Instead use MP_INPUT_BUFFER_PADDING_SIZE and add a preprocessor check that it is big enough. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27314 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move duplicate FF_INPUT_BUFFER_PADDING_SIZE handling into demuxer.hGravatar reimar2008-07-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27301 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.Gravatar diego2008-02-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all demuxer_desc_t const, thus moving them to .rodataGravatar reimar2008-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25735 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.Gravatar diego2007-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.Gravatar diego2007-02-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous bswap.h include.Gravatar diego2006-12-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21437 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf --> mp_msgGravatar diego2006-07-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19080 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change free_sh_audio() to take demuxer and stream id as parametersGravatar uau2006-06-14
| | | | | | | | | | | | | | (same as new_sh_audio()) instead of sh_audio_t *, use those to remove the pointer from demuxer->a_streams[] before freeing it. Some demuxers use free_sh_audio() to undo the creation of an already-allocated audio stream in case of error. These uses were unsafe since free_sh_audio() freed the data structure but left the pointer in demuxer->a_streams[], leading to double free later in free_demuxer() (and perhaps use of the freed stream before that, I didn't check). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.Gravatar rtogni2006-06-04
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesGravatar rathann2006-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* convert some printfs to mp_msgGravatar rathann2006-01-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
* include the right avcodec.h, consistently with the rest of mplayerGravatar nicodvb2006-01-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
* malloc padding to avoid access beyond allocated memoryGravatar henry2005-12-19
| | | | | | | Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationGravatar rtognimp2005-08-05
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* make stupid gcc versions happyGravatar rfelker2004-03-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12086 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l Fix audio decoding and random sig11Gravatar rtognimp2003-12-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11651 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed 2 10l-s (bug found in the spring cleanup patch by Raindel ShacharGravatar alex2003-04-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9956 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)Gravatar michael2002-11-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugGravatar arpi2002-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* some more output cosmetics, especially for vivo and mov demuxersGravatar arpi2002-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6140 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning (proper) fixGravatar pl2002-01-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4408 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixGravatar pl2001-12-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
* x = malloc(strlen(s) + c) ... strcpy(x, s)Gravatar pl2001-12-19
| | | | | | | | | | | replaced by x = strdup(s) Note: sometimes c was 0 and that was a bug Note2: code still has to be added to check the returned value of these funcs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
* vivo A-V sync fixedGravatar arpi2001-12-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3527 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vivo version option addedGravatar alex2001-12-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3504 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -vivo subconfigGravatar alex2001-12-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3503 b3059339-0415-0410-9bf9-f77b7e298cf2
* hacked audio support to work with acmGravatar alex2001-12-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3472 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed Waveformatheader emu and added vivo1/2 audio detectionGravatar alex2001-12-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3440 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for packet 0x82 (from vivodump.c by arpi)Gravatar alex2001-12-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3246 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed to generate fourcc's like: viv<version> -> viv1,viv2Gravatar alex2001-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3114 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrote a very annoying bugGravatar alex2001-11-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3070 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for demux_infoGravatar alex2001-11-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3069 b3059339-0415-0410-9bf9-f77b7e298cf2
* some minor fixesGravatar alex2001-11-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2929 b3059339-0415-0410-9bf9-f77b7e298cf2
* small fixGravatar pl2001-11-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2810 b3059339-0415-0410-9bf9-f77b7e298cf2
* disabled vivo2 scaling (decodes some vivo2 files)Gravatar alex2001-11-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2806 b3059339-0415-0410-9bf9-f77b7e298cf2
* checking for EOFGravatar alex2001-11-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2793 b3059339-0415-0410-9bf9-f77b7e298cf2