mpv/common
wm4 24dc91907a common, vo_opengl: add/use helper for formatted strings on the stack
Seems like I really like this C99 idiom. No reason not to generalize it
do snprintf(). Introduce mp_tprintf(), which basically this idiom to
snprintf(). This macro looks like it returns a string that was allocated
with alloca() on the caller site, except it's portable C99/C11. (And
unlike alloca(), the result is valid only within block scope.)

Use it in 2 places in the vo_opengl code. But it has the potential to
make a whole bunch of weird looking code look slightly nicer.
2017-07-24 08:12:42 +02:00
..
av_common.c demux_raw: drop "mp-rawvideo" use 2017-05-20 11:43:57 +02:00
av_common.h ad_lavc, vd_lavc: move mpv->lavc decoder parameter setup to common code 2017-01-25 08:24:19 +01:00
av_log.c av_log: mark as almost LGPL 2017-05-05 07:15:17 +02:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c options: drop deprecated --vd/--ad codecs selection features 2017-01-19 15:38:58 +01:00
codecs.h options: deprecate codec family selection in --vd/--ad 2016-12-23 18:12:29 +01:00
common.c common, vo_opengl: add/use helper for formatted strings on the stack 2017-07-24 08:12:42 +02:00
common.h common, vo_opengl: add/use helper for formatted strings on the stack 2017-07-24 08:12:42 +02:00
encode.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
encode_lavc.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
encode_lavc.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg.c options: unbreak -v 2017-06-23 21:04:41 +02:00
msg.h msg.c/h: partially change license to LGPL 2017-05-05 06:53:23 +02:00
msg_control.h player: make sure version information is always included in --log-file 2017-05-22 18:31:39 +02:00
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
recorder.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
recorder.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
tags.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.h
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00