aboutsummaryrefslogtreecommitdiffhomepage
path: root/playtree.c
Commit message (Collapse)AuthorAge
* playtree: fix segfault on empty playlistGravatar siretart2010-11-02
| | | | | | | | Add a sanity check to avoid a segmentation fault in playtree.c on empty playlists. This is Debian Bug: http://bugs.debian.org/591525 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30798Gravatar Uoti Urpala2010-03-10
|\
* \ Merge svn changes up to r30748Gravatar Uoti Urpala2010-03-10
|\ \
* \ \ Merge svn changes up to r30475Gravatar Uoti Urpala2010-03-09
|\ \ \
| | | * Remove unused static function play_tree_set_flag().Gravatar cehoyos2010-02-27
| | |/ | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30771 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * Do not cast the results of malloc/calloc/realloc.Gravatar diego2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * Mark some more functions that are not used outside of their files as static.Gravatar diego2010-02-18
| |/ | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30632 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29912Gravatar Uoti Urpala2009-11-16
|\|
| * Remove redundant duplicate option handling in the playtree.Gravatar adrian2009-10-10
| | | | | | | | | | | | | | Fixes the use of options on the command line which should not override each other (like -vf-add). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29768 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove the internal GUIGravatar Anton Khirnov2009-07-07
| | | | | | | | | | | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
| * 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
* | Merge svn changes up to r28366Gravatar Uoti Urpala2009-01-26
|\| | | | | | | | | | | | | | | | | Contains more changes needed to sync build system with latest FFmpeg. Conflicts: Makefile configure mplayer.c
| * Actually abort (return NULL) in the alloc-failure check in play_tree_newGravatar reimar2009-01-25
| | | | | | | | | | | | | | | | instead of going right ahead and crashing. Patch by Luis Felipe Strano Moraes (luis strano gmail com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28355 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make various functions staticGravatar Uoti Urpala2008-08-12
| |
| * revert non-acked r27106Gravatar ben2008-06-21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27120 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Only "pop" subtree params if they had previously been "pushed",Gravatar ben2008-06-20
|/ | | | | | | | | | and afterwards reset the "pushed" value to 0 again. Similarly only set the PLAY_TREE_RND_PLAYED flag if the entry had been pushed before. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27106 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo: begining --> beginningGravatar diego2007-12-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25517 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: childs --> childrenGravatar diego2007-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cast sizeof() to int in mp_msg arguments so it fits the format string on 64bitGravatar reimar2007-06-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23634 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable, patch by Stefan Huehner stefan [at] huehner [dot] orgGravatar diego2006-07-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18891 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3Gravatar reynaldo2006-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary void* casts - part 1Gravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen Attack! - Chapter 3Gravatar albeu2006-04-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18266 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix "last file is always played last" bug.Gravatar reimar2004-11-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13885 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -loop in combination with -shuffleGravatar reimar2004-10-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13709 b3059339-0415-0410-9bf9-f77b7e298cf2
* string handling security fixesGravatar diego2004-06-25
| | | | | | | | patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net> reviewed by Pontscho, Alex, Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix -shuffle with remote playlistGravatar albeu2003-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersGravatar albeu2003-03-30
| | | | | | | Remove the hack used to support dvd://, tv:// and vcd:// git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9749 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch adds a high-level-api to playtree, allowing to use it more easilyGravatar arpi2003-02-05
| | | | | | | | | and hopefully also letting one doing less mistakes, as current low-level-api is not rock-solid ... patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9291 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add random stepping supportGravatar albeu2002-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8175 b3059339-0415-0410-9bf9-f77b7e298cf2
* New config system + cleanup of header inter dependencyGravatar albeu2002-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L found by jeroen dobbelaere <jeroen dot dobbelaere at acunia dot com>Gravatar albeu2002-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Portability fix with reallocGravatar albeu2002-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5803 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codeGravatar pontscho2002-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set the params given to a playlist url to the playlistGravatar albeu2002-03-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5218 b3059339-0415-0410-9bf9-f77b7e298cf2
* small bug fixed and workarounds :(Gravatar pontscho2002-03-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4975 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround for gui a short time.Gravatar pontscho2002-03-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4961 b3059339-0415-0410-9bf9-f77b7e298cf2
* In the good way this time, (1 and 0 was swaped 10*10^10l for me ;))Gravatar albeu2002-02-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4782 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed (I hope) little bug wich lead to sig11 after last playtree entryGravatar albeu2002-02-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4769 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bug fix for subconfig option. A -tv option containing the on parameterGravatar albeu2002-01-21
| | | | | | | | is now take as an entry. New functions to set/get options and know if an option is alredy set. A few comments. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4293 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some improvment and make -vcd -dvd options considered as playlist entryGravatar albeu2002-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Few bug fix and improvment in config/playtree systemGravatar albeu2002-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4255 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a few bugs and added support for VCD/DVD/TV in playlist using virtual urlGravatar albeu2002-01-17
| | | | | | | like dvd://1 vcd://2 tv://5 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4221 b3059339-0415-0410-9bf9-f77b7e298cf2
* playtree-based config patch by Alban Bedel <albeu@free.fr>Gravatar arpi2002-01-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4157 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixGravatar nexus2002-01-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4051 b3059339-0415-0410-9bf9-f77b7e298cf2
* tree-based playlist parser code by Alban Bedel <albeu@free.fr>Gravatar arpi2002-01-08
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4044 b3059339-0415-0410-9bf9-f77b7e298cf2