1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/mpvcore
wm4 53b5227270 audio: make internal audio format 0 an invalid format
Having to use -1 for that is generally quite annoying.

Audio formats are created from bitmasks, and it can't be excluded that
0 is not a valid format. Fix this by adjusting AF_FORMAT_I so that it
is never 0. Along with AF_FORMAT_F and the special formats, all valid
formats are covered and guaranteed to be non-0.

It's possible that this commit will cause some regressions, as the
check for invalid audio formats changes a bit.
2013-08-26 10:09:41 +02:00
..
input input: fix build if HAVE_PTHREADS is undefined 2013-08-15 11:22:30 +02:00
timeline
asxparser.c
asxparser.h
av_common.c
av_common.h
av_log.c
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
command.h
cpudetect.c
cpudetect.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_config.h
m_option.c audio: make internal audio format 0 an invalid format 2013-08-26 10:09:41 +02:00
m_option.h mplayer: start track IDs from 1 rather than 0 2013-08-21 18:32:42 +02:00
m_property.c
m_property.h
mp_common.c
mp_common.h
mp_core.h mp_core: declare seek_type enum outside of nested struct 2013-08-19 22:32:25 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
mp_osd.h
mp_ring.c
mp_ring.h
mp_talloc.h
mplayer.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
mpv_global.h
options.c audio: make internal audio format 0 an invalid format 2013-08-26 10:09:41 +02:00
options.h video: make it possible to scale/pan the video by arbitrary amounts 2013-08-19 13:03:08 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c mplayer: reshuffle on every loop if --loop and --shuffle are used 2013-08-19 01:05:49 +02:00
parser-mpcmd.h
path.c
path.h
playlist_parser.c
playlist_parser.h
playlist.c
playlist.h
resolve_quvi9.c
resolve_quvi.c
resolve.h
screenshot.c
screenshot.h
version.c