1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00
mpv/libmpdemux
wm4 53f6eba06c vd_ffmpeg, demux_mng: allow general raw formats, fix MNG demuxer
Change vd_ffmpeg such that if sh_video->format is a mplayer pixel
format, and there's no other codec information, try to play it as raw
video. (The case of no codec information happens if the "generic" ffmpeg
decoder is instantiated, which is tried last. This means clashes with
actual existing formats are less likely.)

demux_mng did not initialize all fields of the bih, which made vd_ffmpeg
do invalid memory accesses when trying to copy the extradata. Also, use
IMGFMT_RGB32 instead of creating the FourCC directly. (They should be
the same, but what if mplayer changes the IMGFMT_* values.)

This also fixes demux_rawvideo.
2012-08-20 15:36:04 +02:00
..
asf.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
asfguid.h asfguid.h: Use AV_RL32 also in x86 2010-11-02 04:14:20 +02:00
asfheader.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
asfheader.h Add header for asf_check_header, read_asf_header; avoids forward declarations. 2010-02-17 23:45:01 +00:00
aviheader.c aviheader.c: silence a warning 2012-02-29 02:49:48 +02:00
aviheader.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
aviprint.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
aviprint.h Declare public function print_vprp() in aviprint.h. 2010-02-21 23:36:36 +00:00
demux_asf.c demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY 2012-07-25 01:10:30 +03:00
demux_avi.c Remove some demuxers and decoders 2012-07-30 22:14:32 +02:00
demux_cue.c core: add new support for reading .cue files 2012-01-18 04:25:19 +01:00
demux_demuxers.c demux_demuxers: fix seeking bug (--audiofile) 2011-10-23 03:29:42 +03:00
demux_edl.c EDL: add support for new EDL file format 2011-04-05 06:26:17 +03:00
demux_gif.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
demux_lavf.c demux_lavf: assume audio codec_tag 0 means unset 2012-08-16 17:16:33 +02:00
demux_mf.c demux_mf: add j2c and jpc as jpeg2k, add tiff extension as tif image 2012-08-03 01:43:44 +02:00
demux_mkv.c libmpdemux: remove demux_real, demux_viv, demux_audio 2012-08-20 15:36:02 +02:00
demux_mng.c vd_ffmpeg, demux_mng: allow general raw formats, fix MNG demuxer 2012-08-20 15:36:04 +02:00
demux_packet.h demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY 2012-07-25 01:10:30 +03:00
demux_rawaudio.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_rawvideo.c
demuxer.c Remove support for libdv 2012-08-20 15:36:03 +02:00
demuxer.h Remove support for libdv 2012-08-20 15:36:03 +02:00
ebml.c Update Libav API uses 2012-02-01 22:46:27 +02:00
ebml.h demux_mkv: simplify subtitle type recognition 2011-03-31 03:44:37 +03:00
extension.c libmpdemux: remove demux_real, demux_viv, demux_audio 2012-08-20 15:36:02 +02:00
matroska.h demux_mkv: support Blu-ray subtitles 2011-03-31 03:44:37 +03:00
mf.c windows support: unicode filenames 2012-03-09 20:48:54 +02:00
mf.h
mp_taglists.c demux_lavf: use Libav RIFF tag lists directly 2012-02-01 22:46:27 +02:00
mp_taglists.h demux_lavf: use Libav RIFF tag lists directly 2012-02-01 22:46:27 +02:00
ms_hdr.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
stheader.h demuxer: introduce a general stream struct 2012-08-03 13:25:41 +02:00
video.c Remove support for LIVE555 RTSP streaming 2012-08-20 15:36:03 +02:00