diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-07 02:40:46 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-07 02:40:46 +0000 |
commit | eb4a0ced215a63478a1a941f0eecc61413eef44e (patch) | |
tree | 43490b4fc242eef9589aabc8248af5aa5854fde9 /src/libffmpeg/xine_decoder.c | |
parent | 387d398d4c96bfe17ee38452795aeccd67e5d048 (diff) | |
download | xine-lib-eb4a0ced215a63478a1a941f0eecc61413eef44e.tar.gz xine-lib-eb4a0ced215a63478a1a941f0eecc61413eef44e.tar.bz2 |
- demuxer cleanup (helper functions)
- endianness fixes/cleanups (fix asf demuxer/audio for bigendian)
- xine_waveformatex
- increased demuxer plugin version
CVS patchset: 2028
CVS date: 2002/06/07 02:40:46
Diffstat (limited to 'src/libffmpeg/xine_decoder.c')
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 6077f449e..b5a5ace70 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.39 2002/06/04 15:31:08 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.40 2002/06/07 02:40:46 miguelfreitas Exp $ * * xine decoder plugin using ffmpeg * @@ -46,12 +46,6 @@ #define LOG */ -#ifndef mmioFOURCC -#define mmioFOURCC( ch0, ch1, ch2, ch3 ) \ - ( (long)(unsigned char)(ch0) | ( (long)(unsigned char)(ch1) << 8 ) | \ - ( (long)(unsigned char)(ch2) << 16 ) | ( (long)(unsigned char)(ch3) << 24 ) ) -#endif - typedef struct ff_decoder_s { video_decoder_t video_decoder; @@ -71,25 +65,6 @@ typedef struct ff_decoder_s { #define VIDEOBUFSIZE 128*1024 -/* -#define IMGFMT_YUY2 mmioFOURCC('Y','U','Y','2') -#define IMGFMT_YV12 mmioFOURCC('Y','V','1','2') -*/ - -static unsigned long str2ulong(void *data) -{ - unsigned char *str = data; - return ( str[0] | (str[1]<<8) | (str[2]<<16) | (str[3]<<24) ); -} - -/* -static unsigned short str2ushort(void *data) -{ - unsigned char *str = data; - return ( str[0] | (str[1]<<8) ); -} -*/ - static int ff_can_handle (video_decoder_t *this_gen, int buf_type) { buf_type &= 0xFFFF0000; |