From 71b2aedd2042e7f83f346eb1d62b52c25881e115 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 29 Jun 2009 15:49:43 +0000 Subject: video_size_t * --> struct video_size_s * --- tools/h264.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/h264.h b/tools/h264.h index dff36ac9..df869e96 100644 --- a/tools/h264.h +++ b/tools/h264.h @@ -4,20 +4,20 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: h264.h,v 1.8 2009-02-14 20:39:20 phintuka Exp $ + * $Id: h264.h,v 1.9 2009-06-29 15:49:43 phintuka Exp $ * */ #ifndef _XINELIBOUTPUT_H264_H_ #define _XINELIBOUTPUT_H264_H_ - #ifdef __cplusplus extern "C" { #endif #include "mpeg.h" + #define NAL_SPS 0x07 /* Sequence Parameter Set */ #define NAL_AUD 0x09 /* Access Unit Delimiter */ #define NAL_END_SEQ 0x0a /* End of Sequence */ @@ -41,6 +41,9 @@ typedef struct { /* ... */ } h264_sps_data_t; +struct video_size_s; + + /* * input: start of NAL SPS (without 00 00 01 07) */ @@ -54,7 +57,7 @@ int h264_get_picture_type(const uint8_t *buf, int len); /* * input: start of H.264 video data (not PES) */ -int h264_get_video_size(const uint8_t *buf, int len, video_size_t *size); +int h264_get_video_size(const uint8_t *buf, int len, struct video_size_s *size); #ifdef __cplusplus -- cgit v1.2.3