From 4070629dfa69efd8b10e466f7a38d480045b5284 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 9 Mar 2009 02:49:47 +0000 Subject: merge struct declaration and definition Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gxfenc.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libavformat/gxfenc.c') diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index de4b20820c..71352fd330 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -67,14 +67,9 @@ typedef struct GXFContext { unsigned packet_count; } GXFContext; -typedef struct GXF_Lines { - int height; - int index; -} GXF_Lines; - - -/* FIXME check if it is relevant */ -static const GXF_Lines gxf_lines_tab[] = { +static const struct { + int height, index; +} gxf_lines_tab[] = { { 480, 1 }, /* NTSC */ { 512, 1 }, /* NTSC + VBI */ { 576, 2 }, /* PAL */ -- cgit v1.2.3