• Ivan Kalvachev's avatar
    Fix bink audio playback outside of FFmpeg. · 093768c9
    Ivan Kalvachev authored
    There are 2 known Bink audio codecs. Additionally they have
    a different flavor if they are found inside Bink-b "BIKb" file.
    In order to guess the correct flavor, the demuxer sets the audio
    codec_tag to be the same as the file format tag.
    This causes problem because same tag is used for both audio codecs.
    The hack works in FFmpeg because audio codecs are identified by their
    codec_id, but other players rely on standard behavior.
    
    This fix removes the codec_tag hack and instead uses artificial
    extradata format to signal the codec flavor. This would also
    allow proper embedding of Bink audio in other containers.
    Signed-off-by: 's avatarIvan Kalvachev <ikalvachev@gmail.com>
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    093768c9
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
mt-work Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...