diff options
author | phintuka <phintuka> | 2008-03-16 22:12:56 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-03-16 22:12:56 +0000 |
commit | 16528716e8db6d4fce35b30f25660f4d933baf2e (patch) | |
tree | cd67fdd36ab6462c6d9ea3c9c95e0fc66859564e | |
parent | 776318ee9b7a92978ed7a5e101a7b7618c49d5b2 (diff) | |
download | xineliboutput-16528716e8db6d4fce35b30f25660f4d933baf2e.tar.gz xineliboutput-16528716e8db6d4fce35b30f25660f4d933baf2e.tar.bz2 |
Define video_size_t only in mpeg.h
-rw-r--r-- | tools/h264.h | 12 | ||||
-rw-r--r-- | tools/mpeg.h | 7 |
2 files changed, 6 insertions, 13 deletions
diff --git a/tools/h264.h b/tools/h264.h index 2e14136b..34e11b81 100644 --- a/tools/h264.h +++ b/tools/h264.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: h264.h,v 1.1 2008-02-04 22:43:27 phintuka Exp $ + * $Id: h264.h,v 1.2 2008-03-16 22:12:56 phintuka Exp $ * */ @@ -16,18 +16,12 @@ extern "C" { #endif - -#ifndef VIDEO_SIZE_T -#define VIDEO_SIZE_T -typedef struct { - int width; - int height; -} video_size_t; -#endif +#include "mpeg.h" typedef struct { int width; int height; + double pixel_aspect; /* ... */ } h264_sps_data_t; diff --git a/tools/mpeg.h b/tools/mpeg.h index c752c184..c17ee0ec 100644 --- a/tools/mpeg.h +++ b/tools/mpeg.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: mpeg.h,v 1.1 2008-02-04 22:42:13 phintuka Exp $ + * $Id: mpeg.h,v 1.2 2008-03-16 22:12:56 phintuka Exp $ * */ @@ -27,13 +27,12 @@ extern "C" { #define B_FRAME 3 -#ifndef VIDEO_SIZE_T -#define VIDEO_SIZE_T typedef struct { int width; int height; + double pixel_aspect; } video_size_t; -#endif + extern const char * const picture_type_str[]; |