Staging
v0.5.0
Revision f1b94134a4b879bc55c3dacdb496690c8ebdc03f authored by Vikram Fugro on 11 March 2016, 12:16:11 UTC, committed by Jean-Baptiste Kempf on 11 March 2016, 14:57:34 UTC
Allocate the output vlc pictures with dimensions padded,
as requested by the decoder (for alignments). This further
increases the chances of direct rendering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent 6c813cb
Raw File
check_headers
#! /bin/sh
# Copyright © 2008 Rémi Denis-Courmont

cd "$(dirname "$0")" || exit $?

# Look for configure #defines in public headers.
# There are incorrect, as external users don't have our <config.h>.
regexp=""

while read l; do
	d=$(echo "$l" | sed -n -e 's/^#undef \([[:upper:][:digit:]_]*\)$/\1/p')
	test -z "$d" && continue
	test "$d" = "WORDS_BIGENDIAN" && continue
	test "$d" = "UNICODE" && continue
	test "$d" = "__LIBVLC__" && continue

	if test -z "$regexp"; then
		regexp="[^A-Za-z0-9_]\("
	else
		regexp="${regexp}\|"
	fi
	regexp="${regexp}${d}"
done < ../config.h.in
regexp="${regexp}\)\([^A-Za-z0-9_]\|\$\)"

echo Looking for private defines in public headers...
! grep -- "$regexp" "$@" || exit $?
echo "None found."
back to top