1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

config.h cleanup, few things added to steram/demuxer headers

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2556 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-30 17:03:11 +00:00
parent a04920f24f
commit 9ee7852bb7
12 changed files with 25 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#ifndef __ASF_H
#define __ASF_H
#include "config.h" /* for WORDS_BIGENDIAN */
//#include "config.h" /* for WORDS_BIGENDIAN */
#include <inttypes.h>
#include "bswap.h"
#ifdef STREAMING

View File

@ -3,6 +3,8 @@
#include <string.h>
#include <unistd.h>
#include "config.h"
#include "url.h"
#include "http.h"
#include "asf.h"

View File

@ -3,6 +3,8 @@
#include <stdlib.h>
#include <unistd.h>
#include "config.h"
#include "stream.h"
#include "demuxer.h"

View File

@ -3,6 +3,8 @@
#include <stdlib.h>
#include <string.h>
#include "config.h"
//#include "stream.h"
//#include "demuxer.h"
//#include "stheader.h"

View File

@ -9,7 +9,6 @@
#include <unistd.h>
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"

View File

@ -8,13 +8,13 @@
#include "mp_msg.h"
#include "help_mp.h"
#include "config.h"
#include "dvdauth.h"
#include "stream.h"
#include "demuxer.h"
#include "parse_es.h"
#include "stheader.h"
#include "dvdauth.h"
//#define MAX_PS_PACKETSIZE 2048
#define MAX_PS_PACKETSIZE (224*1024)

View File

@ -1,6 +1,4 @@
#include "config.h"
#define MAX_PACKS 4096
#define MAX_PACK_BYTES 0x800000
@ -153,5 +151,11 @@ static inline int avi_stream_id(unsigned int id){
demuxer_t* demux_open(stream_t *stream,int file_format,int aid,int vid,int sid);
int demux_seek(demuxer_t *demuxer,float rel_seek_secs,int flags);
// AVI demuxer params:
extern int index_mode; // -1=untouched 0=don't use index 1=use (geneate) index
extern int force_ni;
extern int pts_from_bps;

View File

@ -1,4 +1,3 @@
//#include "config.h"
#ifdef HAVE_LIBCSS
#ifndef _MPLAYER_CSS_H
#define _MPLAYER_CSS_H

View File

@ -24,6 +24,8 @@
#include <errno.h>
#include <ctype.h>
#include "config.h"
#include "stream.h"
#include "demuxer.h"

View File

@ -10,7 +10,6 @@
#include "stream.h"
#include "demuxer.h"
#include "parse_es.h"
//static unsigned char videobuffer[MAX_VIDEO_PACKET_SIZE];

View File

@ -149,5 +149,12 @@ void stream_reset(stream_t *s);
stream_t* new_stream(int fd,int type);
void free_stream(stream_t *s);
stream_t* new_memory_stream(unsigned char* data,int len);
stream_t* open_stream(char* filename,int vcd_track,int* file_format);
//#ifdef USE_DVDREAD
extern int dvd_title;
extern int dvd_chapter;
extern int dvd_angle;
//#endif
#endif // __STREAM_H

View File

@ -3,6 +3,7 @@
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mp_msg.h"
#include "stream.h"