diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-04-24 03:05:24 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-24 03:05:24 +0300 |
commit | 28b3cc0efe7a575cb8004d1b109ce5ca2f2953bb (patch) | |
tree | 86295838b8ed53d47abbaeca5dfc9a78f3c84fbb /libmpcodecs/vf_softpulldown.c | |
parent | 9790fc444efc423bb4b3f6ad5321eeb7aeeb0b54 (diff) | |
download | mpv-28b3cc0efe7a575cb8004d1b109ce5ca2f2953bb.tar.bz2 mpv-28b3cc0efe7a575cb8004d1b109ce5ca2f2953bb.tar.xz |
bstr.h: change BSTR() from macro to inline function
Change BSTR() from a macro producing a compound literal to an inline
function returning the same value. This works for all existing uses,
and avoids a warning from BSTR(NULL) (the macro expansion contained
strlen(NULL); this was valid code because the strlen call was never
evaluated, but still triggered a GCC warning).
Diffstat (limited to 'libmpcodecs/vf_softpulldown.c')
0 files changed, 0 insertions, 0 deletions