Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6427:67608202ec7e | 6428:f53a4103bec4 |
---|---|
1112 "null", | 1112 "null", |
1113 NULL_IF_CONFIG_SMALL("raw null video format"), | 1113 NULL_IF_CONFIG_SMALL("raw null video format"), |
1114 NULL, | 1114 NULL, |
1115 NULL, | 1115 NULL, |
1116 0, | 1116 0, |
1117 #if HAVE_BIGENDIAN | 1117 AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE), |
1118 CODEC_ID_PCM_S16BE, | |
1119 #else | |
1120 CODEC_ID_PCM_S16LE, | |
1121 #endif | |
1122 CODEC_ID_RAWVIDEO, | 1118 CODEC_ID_RAWVIDEO, |
1123 NULL, | 1119 NULL, |
1124 null_write_packet, | 1120 null_write_packet, |
1125 .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS, | 1121 .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS, |
1126 }; | 1122 }; |