[MPlayer-cvslog] r36258 - trunk/libmpcodecs/ad_hwac3.c
reimar
subversion at mplayerhq.hu
Thu May 9 12:53:18 CEST 2013
Author: reimar
Date: Thu May 9 12:53:18 2013
New Revision: 36258
Log:
Fix indentation.
Modified:
trunk/libmpcodecs/ad_hwac3.c
Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c Thu May 9 12:53:17 2013 (r36257)
+++ trunk/libmpcodecs/ad_hwac3.c Thu May 9 12:53:18 2013 (r36258)
@@ -551,18 +551,18 @@ static int decode_audio_dts(unsigned cha
buf16[3] = fsize << 3;
if (!convert_16bits) {
- int be_stream = indata_ptr[0] == 0x1f || indata_ptr[0] == 0x7f;
- if (be_stream == HAVE_BIGENDIAN)
- memcpy(&buf[8], indata_ptr, fsize);
- else
- {
- swab(indata_ptr, &buf[8], fsize);
- if (fsize & 1) {
- buf[8+fsize-1] = 0;
- buf[8+fsize] = indata_ptr[fsize-1];
- fsize++;
- }
- }
+ int be_stream = indata_ptr[0] == 0x1f || indata_ptr[0] == 0x7f;
+ if (be_stream == HAVE_BIGENDIAN)
+ memcpy(&buf[8], indata_ptr, fsize);
+ else
+ {
+ swab(indata_ptr, &buf[8], fsize);
+ if (fsize & 1) {
+ buf[8+fsize-1] = 0;
+ buf[8+fsize] = indata_ptr[fsize-1];
+ fsize++;
+ }
+ }
}
memset(&buf[fsize + 8], 0, nr_samples * 2 * 2 - (fsize + 8));
More information about the MPlayer-cvslog
mailing list