mpv/core
wm4 14427ae2ee core: make more robust against missing libavcodec AVCodecDescriptor entries
Missing entries cause avcodec_descriptor_get() to return NULL, and in
turn mp_codec_from_av_codec_id() will return NULL. This shouldn't
happen, and avcodec_descriptor_get() returning NULL for a valid codec is
clearly a bug.

But make it more robust anyway, and use the decoder's name if this
happens, because I doubt maintainance of the AVCodecDescriptor table
in ffmpeg/Libav will always be perfect and reliable.
2013-03-07 23:42:58 +01:00
..
input
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.h
cfg-mplayer.h
codecs.c
codecs.h
command.c
command.h
cpudetect.c
cpudetect.h
defaultopts.c
defaultopts.h
encode.h
encode_lavc.c
encode_lavc.h
m_config.c
m_config.h
m_option.c
m_option.h vo: remove and cleanup globals 2013-03-04 17:40:21 +01:00
m_property.c
m_property.h
m_struct.c
m_struct.h
mp_common.c
mp_common.h
mp_core.h
mp_fifo.c
mp_fifo.h
mp_msg.c
mp_msg.h
mp_osd.h
mp_talloc.h
mplayer.c
mplayer.h
options.h
parser-cfg.c
parser-cfg.h
parser-mpcmd.c
parser-mpcmd.h
path.c
path.h
playlist.c
playlist.h
playlist_parser.c
playlist_parser.h
quvi.c
screenshot.c
screenshot.h
subopt-helper.c
subopt-helper.h
version.c