summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-29 18:33:39 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-29 18:33:39 +0000
commit85a2aada9007878ef6555fe9ce98e04c41eada40 (patch)
tree7e8baa349b8706eec18fe7950dfb37d03c650326 /libavformat
parent26aa6811112d4ecb3b0473c8500b3fac96c6e6cd (diff)
simplify code by using the AV_NE() macro
Originally committed as revision 24971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/raw.c6
1 files changed, 1 insertions, 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,