diff raw.c @ 6428:f53a4103bec4 libavformat

simplify code by using the AV_NE() macro
author aurel
date Sun, 29 Aug 2010 18:33:39 +0000
parents 61cc005602fc
children 3e32902d7025
line wrap: on
line diff
--- a/raw.c	Sun Aug 29 18:28:03 2010 +0000
+++ b/raw.c	Sun Aug 29 18:33:39 2010 +0000
@@ -1114,11 +1114,7 @@
     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,