From 85a2aada9007878ef6555fe9ce98e04c41eada40 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 29 Aug 2010 18:33:39 +0000 Subject: [PATCH] simplify code by using the AV_NE() macro Originally committed as revision 24971 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/raw.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavformat/raw.c b/libavformat/raw.c index a32b78048d..969858346d 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -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,