Merge remote-tracking branch 'qatar/master'

* qatar/master:
  smacker: add a clarification notice about audio decoding
  configure: make jack depend on pthreads

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/23/head
Michael Niedermayer 12 years ago
commit 3fc8500483
  1. 2
      configure
  2. 1
      libavcodec/smacker.c

2
configure vendored

@ -2065,7 +2065,7 @@ dshow_indev_extralibs="-lpsapi -lole32 -lstrmiids -luuid"
dv1394_indev_deps="dv1394 dv_demuxer" dv1394_indev_deps="dv1394 dv_demuxer"
fbdev_indev_deps="linux_fb_h" fbdev_indev_deps="linux_fb_h"
iec61883_indev_deps="libiec61883" iec61883_indev_deps="libiec61883"
jack_indev_deps="jack_jack_h sem_timedwait" jack_indev_deps="jack_jack_h pthreads"
lavfi_indev_deps="avfilter" lavfi_indev_deps="avfilter"
libcdio_indev_deps="libcdio" libcdio_indev_deps="libcdio"
libdc1394_indev_deps="libdc1394" libdc1394_indev_deps="libdc1394"

@ -660,6 +660,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data,
} }
} }
} }
/* this codec relies on wraparound instead of clipping audio */
if(bits) { //decode 16-bit data if(bits) { //decode 16-bit data
for(i = stereo; i >= 0; i--) for(i = stereo; i >= 0; i--)
pred[i] = sign_extend(av_bswap16(get_bits(&gb, 16)), 16); pred[i] = sign_extend(av_bswap16(get_bits(&gb, 16)), 16);

Loading…
Cancel
Save