From 55747906492fae008a7b605dcf880d011fdf2dbb Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Fri, 21 Apr 2006 17:27:40 +0000 Subject: ext/dv/gstdv.c: Fix build. Original commit message from CVS: * ext/dv/gstdv.c: (plugin_init): Fix build. --- ext/dv/gstdv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/dv') diff --git a/ext/dv/gstdv.c b/ext/dv/gstdv.c index 90947f46..0402ab51 100644 --- a/ext/dv/gstdv.c +++ b/ext/dv/gstdv.c @@ -28,7 +28,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - GstRank dvdec_rank; + GstRank rank; if (!gst_element_register (plugin, "dvdemux", GST_RANK_PRIMARY, gst_dvdemux_get_type ())) @@ -36,6 +36,7 @@ plugin_init (GstPlugin * plugin) /* libdv does not correctly play back videos on big-endian machines. also it's only optimized properly on x86-32 and x86-64. */ + #if G_BYTE_ORDER == G_LITTLE_ENDIAN rank = GST_RANK_PRIMARY; #else -- cgit