simplify code by using the AV_NE() macro

Originally committed as revision 24971 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2010-08-29 18:33:39 +00:00
parent 26aa681111
commit 85a2aada90
1 changed files with 1 additions and 5 deletions

View File

@ -1114,11 +1114,7 @@ AVOutputFormat null_muxer = {
NULL, NULL,
NULL, NULL,
0, 0,
#if HAVE_BIGENDIAN AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE),
CODEC_ID_PCM_S16BE,
#else
CODEC_ID_PCM_S16LE,
#endif
CODEC_ID_RAWVIDEO, CODEC_ID_RAWVIDEO,
NULL, NULL,
null_write_packet, null_write_packet,