avutil: av_x_if_null: remove const for the return value.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 3 Dec 2011 10:21:29 +0000 (11:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 Dec 2011 14:18:15 +0000 (15:18 +0100)
commit757cb3b46a5ae81c169a83975dc25040e7864475
tree5c0ea14563aff31f52ca8e5b924b411e399456c1
parent730945d941aec27d40c51d74850166228cec9ea1
avutil: av_x_if_null: remove const for the return value.

This is the usual weirdness with const/non-const pointers through a function.
See the prototype of strchr for a standard example.

The function had to be moved down, below the point where stdint.h is
indirectly included.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/avutil.h