wmalossless: fix 24bit support

attached sample decodes, but doesn't sound correctly

‚Äčhttp://www.datafilehost.com/d/8ab253b2

C:\>ffmpeg -i wma9_24bit.wma out.wav
ffmpeg version 2.4.git-293fee4 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 22 2014 23:45:26 with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl --disable-ffprobe
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[wmalossless @ 01ea4380] Warning: not compiled with thread support, using thread
 emulation
Input #0, asf, from 'wma9_24bit.wma':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: N1
    WM/WMADRCPeakReference: 32767
    WM/WMADRCPeakTarget: 32767
    WM/WMADRCAverageReference: 11722
    WM/WMADRCAverageTarget: 11722
    WMFSDKVersion   : 11.0.5721.5275
    IsVBR           : 1
  Duration: 00:00:30.01, start: 0.000000, bitrate: 1735 kb/s
    Stream #0:0(pol): Audio: wmalossless (c[1][0][0] / 0x0163), 48000 Hz, stereo
, s32p (24 bit), 1152 kb/s
[pcm_s16le @ 01e70100] Warning: not compiled with thread support, using thread e
mulation
[wmalossless @ 01ea52e0] Warning: not compiled with thread support, using thread
 emulation
Output #0, wav, to 'out.wav':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: N1
    WM/WMADRCPeakReference: 32767
    WM/WMADRCPeakTarget: 32767
    WM/WMADRCAverageReference: 11722
    WM/WMADRCAverageTarget: 11722
    WMFSDKVersion   : 11.0.5721.5275
    IsVBR           : 1
    ISFT            : Lavf56.15.100
    Stream #0:0(pol): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo
, s16 (24 bit), 1536 kb/s
    Metadata:
      encoder         : Lavc56.13.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (wmalossless (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[wmalossless @ 01ea52e0] CDLMS of order 8 is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means that
your file has a feature which has not been implemented.
[wmalossless @ 01ea52e0] If you want to help, upload a sample of this file to ft
p://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmp
eg-devel@ffmpeg.org)
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 30656, curre
nt: 18384; changing to 30656. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 30656, curre
nt: 22464; changing to 30656. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 30656, curre
nt: 24512; changing to 30656. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 30656, curre
nt: 26568; changing to 30656. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 30656, curre
nt: 28640; changing to 30656. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 32720, curre
nt: 32688; changing to 32720. This may result in incorrect timestamps in the out
put file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 106448, curr
ent: 106416; changing to 106448. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 122864, curr
ent: 122832; changing to 122864. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 151520, curr
ent: 151488; changing to 151520. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 194528, curr
ent: 194496; changing to 194528. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 200672, curr
ent: 200640; changing to 200672. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 206816, curr
ent: 206784; changing to 206816. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 212960, curr
ent: 212928; changing to 212960. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 219104, curr
ent: 219072; changing to 219104. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 229328, curr
ent: 229296; changing to 229328. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 235472, curr
ent: 235440; changing to 235472. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 303056, curr
ent: 303024; changing to 303056. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 309200, curr
ent: 309168; changing to 309200. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 358352, curr
ent: 358320; changing to 358352. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 374768, curr
ent: 374736; changing to 374768. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 415712, curr
ent: 415680; changing to 415712. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 421856, curr
ent: 421824; changing to 421856. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 442352, curr
ent: 442320; changing to 442352. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 458720, curr
ent: 458688; changing to 458720. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 516080, curr
ent: 516048; changing to 516080. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 544736, curr
ent: 544704; changing to 544736. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 606176, curr
ent: 606144; changing to 606176. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 634832, curr
ent: 634800; changing to 634832. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 645104, curr
ent: 645072; changing to 645104. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 655328, curr
ent: 655296; changing to 655328. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 667616, curr
ent: 667584; changing to 667616. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 692192, curr
ent: 692160; changing to 692192. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 702416, curr
ent: 702384; changing to 702416. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 712688, curr
ent: 712656; changing to 712688. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 741344, curr
ent: 741312; changing to 741344. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 757712, curr
ent: 757680; changing to 757712. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 774128, curr
ent: 774096; changing to 774128. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 813008, curr
ent: 812976; changing to 813008. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 825296, curr
ent: 825264; changing to 825296. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 835568, curr
ent: 835536; changing to 835568. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 851936, curr
ent: 851904; changing to 851936. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 874448, curr
ent: 874416; changing to 874448. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 880592, curr
ent: 880560; changing to 880592. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 921584, curr
ent: 921552; changing to 921584. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 931808, curr
ent: 931776; changing to 931808. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 937952, curr
ent: 937920; changing to 937952. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 980960, curr
ent: 980928; changing to 980960. This may result in incorrect timestamps in the
output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1021904, cur
rent: 1021872; changing to 1021904. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1038320, cur
rent: 1038288; changing to 1038320. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1064912, cur
rent: 1064880; changing to 1064912. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1083344, cur
rent: 1083312; changing to 1083344. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1118192, cur
rent: 1118160; changing to 1118192. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1128416, cur
rent: 1128384; changing to 1128416. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1189856, cur
rent: 1189824; changing to 1189856. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1206224, cur
rent: 1206192; changing to 1206224. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1224656, cur
rent: 1224624; changing to 1224656. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1241072, cur
rent: 1241040; changing to 1241072. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1261520, cur
rent: 1261488; changing to 1261520. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1279952, cur
rent: 1279920; changing to 1279952. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1314800, cur
rent: 1314768; changing to 1314800. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1325024, cur
rent: 1324992; changing to 1325024. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1335248, cur
rent: 1335216; changing to 1335248. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1353680, cur
rent: 1353648; changing to 1353680. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1363952, cur
rent: 1363920; changing to 1363952. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1380320, cur
rent: 1380288; changing to 1380320. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1390544, cur
rent: 1390512; changing to 1390544. This may result in incorrect timestamps in t
he output file.
[wav @ 01ea56e0] Non-monotonous DTS in output stream 0:0; previous: 1425392, cur
rent: 1425360; changing to 1425392. This may result in incorrect timestamps in t
he output file.
size=    5616kB time=00:00:29.99 bitrate=1533.9kbits/s
video:0kB audio:5616kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.001356%