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:
parent
a04920f24f
commit
9ee7852bb7
@ -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
|
||||
|
@ -3,6 +3,8 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "url.h"
|
||||
#include "http.h"
|
||||
#include "asf.h"
|
||||
|
@ -3,6 +3,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "stream.h"
|
||||
#include "demuxer.h"
|
||||
|
||||
|
@ -3,6 +3,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
//#include "stream.h"
|
||||
//#include "demuxer.h"
|
||||
//#include "stheader.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
//#include "config.h"
|
||||
#ifdef HAVE_LIBCSS
|
||||
#ifndef _MPLAYER_CSS_H
|
||||
#define _MPLAYER_CSS_H
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "stream.h"
|
||||
#include "demuxer.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "stream.h"
|
||||
#include "demuxer.h"
|
||||
|
||||
#include "parse_es.h"
|
||||
|
||||
//static unsigned char videobuffer[MAX_VIDEO_PACKET_SIZE];
|
||||
|
@ -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
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "mp_msg.h"
|
||||
|
||||
#include "stream.h"
|
||||
|
Loading…
Reference in New Issue
Block a user