[FFmpeg-soc] [soc]: r5109 - spdif/spdif.c

bwolowiec subversion at mplayerhq.hu
Sat Aug 15 12:32:37 CEST 2009


Author: bwolowiec
Date: Sat Aug 15 12:32:36 2009
New Revision: 5109

Log:
remove #if

Modified:
   spdif/spdif.c

Modified: spdif/spdif.c
==============================================================================
--- spdif/spdif.c	Sat Aug 15 12:29:15 2009	(r5108)
+++ spdif/spdif.c	Sat Aug 15 12:32:36 2009	(r5109)
@@ -55,10 +55,8 @@ typedef struct IEC958Context {
     int pkt_size;               ///< Length code (number of bits or bytes - according to data_type)
     int pkt_offset;             ///< Repetition period of a data burst in bytes
     int (*header_info) (AVFormatContext *s, AVPacket *pkt);
-#if !HAVE_BIGENDIAN
     uint8_t *buffer;
     int buffer_size;
-#endif
 } IEC958Context;
 
 //TODO move to DSP
@@ -238,10 +236,8 @@ static int spdif_write_header(AVFormatCo
 
 static int spdif_write_trailer(AVFormatContext *s)
 {
-#if !HAVE_BIGENDIAN
     IEC958Context *ctx = s->priv_data;
     av_freep(&ctx->buffer);
-#endif
     return 0;
 }
 


More information about the FFmpeg-soc mailing list