mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
Add header for ty_ClearOSD(), ty_processuserdata(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30619 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6f8c91b9a2
commit
c66aa21366
@ -41,6 +41,7 @@
|
||||
|
||||
#include "stream/stream.h"
|
||||
#include "demuxer.h"
|
||||
#include "demux_ty_osd.h"
|
||||
#include "parse_es.h"
|
||||
#include "stheader.h"
|
||||
#include "sub_cc.h"
|
||||
@ -105,7 +106,6 @@ typedef struct
|
||||
} TiVoInfo;
|
||||
|
||||
off_t vstream_streamsize( );
|
||||
void ty_ClearOSD( int start );
|
||||
|
||||
// ===========================================================================
|
||||
#define TMF_SIG "showing.xml"
|
||||
|
@ -26,6 +26,7 @@
|
||||
//#include "subreader.h"
|
||||
#include "sub_cc.h"
|
||||
#include "libvo/sub.h"
|
||||
#include "demux_ty_osd.h"
|
||||
|
||||
//#include "dvdauth.h"
|
||||
|
||||
|
25
libmpdemux/demux_ty_osd.h
Normal file
25
libmpdemux/demux_ty_osd.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* This file is part of MPlayer.
|
||||
*
|
||||
* MPlayer is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* MPlayer is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPLAYER_DEMUX_TY_OSD_H
|
||||
#define MPLAYER_DEMUX_TY_OSD_H
|
||||
|
||||
void ty_ClearOSD(int start);
|
||||
void ty_processuserdata(unsigned char *buf, int len);
|
||||
|
||||
#endif /* MPLAYER_DEMUX_TY_OSD_H */
|
@ -33,6 +33,7 @@
|
||||
|
||||
#include "stream/stream.h"
|
||||
#include "demuxer.h"
|
||||
#include "demux_ty_osd.h"
|
||||
#include "stheader.h"
|
||||
#include "parse_es.h"
|
||||
#include "mpeg_hdr.h"
|
||||
@ -405,8 +406,6 @@ mpeg_header_parser:
|
||||
return 1;
|
||||
}
|
||||
|
||||
void ty_processuserdata( unsigned char* buf, int len );
|
||||
|
||||
static void process_userdata(unsigned char* buf,int len){
|
||||
int i;
|
||||
/* if the user data starts with "CC", assume it is a CC info packet */
|
||||
|
Loading…
Reference in New Issue
Block a user