[FFmpeg-cvslog] r24971 - trunk/libavformat/raw.c

aurel subversion
Sun Aug 29 20:33:39 CEST 2010


Author: aurel
Date: Sun Aug 29 20:33:39 2010
New Revision: 24971

Log:
simplify code by using the AV_NE() macro

Modified:
   trunk/libavformat/raw.c

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	Sun Aug 29 20:28:03 2010	(r24970)
+++ trunk/libavformat/raw.c	Sun Aug 29 20:33:39 2010	(r24971)
@@ -1114,11 +1114,7 @@ AVOutputFormat null_muxer = {
     NULL,
     NULL,
     0,
-#if HAVE_BIGENDIAN
-    CODEC_ID_PCM_S16BE,
-#else
-    CODEC_ID_PCM_S16LE,
-#endif
+    AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE),
     CODEC_ID_RAWVIDEO,
     NULL,
     null_write_packet,



More information about the ffmpeg-cvslog mailing list