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
av_common.h
av_log.c
av_log.h
codecs.c
codecs.h
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.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
encode_lavc.h
global.h
msg.c options: unbreak -v 2017-06-23 21:04:41 +02:00
msg.h
msg_control.h
playlist.c
playlist.h
recorder.c
recorder.h
tags.c
tags.h
version.c