Replace deprecated av_get_bits_per_sample_fmt by av_get_bytes_per_sample.
authorAlexis Ballier <aballier@gentoo.org>
Thu, 1 Mar 2012 16:32:32 +0000 (13:32 -0300)
committerelupus <elupus@xbmc.org>
Sat, 31 Mar 2012 14:28:40 +0000 (16:28 +0200)
commit1ee1787333460902bb158a4049e87c7ea3abb6e4
treefd54636428e72a9184ccc8e73f2d4ab2f87221ae
parent4caa26437aa24253cb97032a46d7c51581b6d5f7
Replace deprecated av_get_bits_per_sample_fmt by av_get_bytes_per_sample.
This, in addition, saves a couple of divisions.
lib/DllAvUtil.h
xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.cpp
xbmc/cores/dvdplayer/DVDCodecs/Audio/Encoders/DVDAudioEncoderFFmpeg.cpp