Mercurial > libavformat.hg
changeset 4680:aa231ba489df libavformat
merge struct declaration and definition
author | bcoudurier |
---|---|
date | Mon, 09 Mar 2009 02:49:47 +0000 |
parents | 697b6a0366a6 |
children | 83c634df5c79 |
files | gxfenc.c |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/gxfenc.c Mon Mar 09 02:47:32 2009 +0000 +++ b/gxfenc.c Mon Mar 09 02:49:47 2009 +0000 @@ -67,14 +67,9 @@ 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 */