cehoyos
17cf1efa12
Fix QT RLE in X-QT via rtsp://.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29477 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-05 23:16:21 +00:00
nicodvb
98742de7c1
handle TrueHD streams (they are carried in 0xFD PES streams in substream 0x72)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29457 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:37:10 +00:00
nicodvb
fc5f506c83
added inexistant TRHD fourcc to handle TRUEHD streams in forthcoming patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29456 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:36:17 +00:00
diego
e5751ced4f
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
reimar
542d2e56ce
Print information about chapters with -identify.
...
Patch by Adrian Stutz [adrian sttz ch]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-28 13:19:26 +00:00
reimar
7924781b04
AVStream.language is deprecated, switch to av_get_metadata instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29386 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:13:52 +00:00
reimar
bc8b79a37d
Move allocation to avoid a possible memleak if new_sh_audio fails.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29385 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:06:46 +00:00
reimar
6a434d676b
Remove pointless stream count checks, new_sh_* already checks for that.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29384 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:04:38 +00:00
reimar
00be4423da
Print ID_AID_???_LANG and ID_SID_???_LANG in lavf demuxer so that frontends
...
can correctly display the languages of audio and subtitle tracks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29383 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 07:49:04 +00:00
reimar
f29dc82d7e
Fix compilation: codec_wav_tags/codec_bmp_tags were renamed to
...
ff_codec_wav_tags/ff_codec_bmp_tags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29382 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 17:50:08 +00:00
reimar
4f1425f256
Move printing of ID_AID_???_LANG to ts_add_stream instead of ts_detect_streams.
...
This makes sure it is printed only once per track and after ID_AUDIO_ID.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:35:20 +00:00
reimar
09f62d5aff
Initialize es->lang to ensure a previous value does not get misattributed
...
to a different track.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29380 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:33:42 +00:00
reimar
44edd8a6d7
Remove duplicate printing of ID_AUDIO_ID/ID_VIDEO_ID, those are already
...
printed by the new_sh_... functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29378 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:55:41 +00:00
reimar
e8bcaf0fca
TS demuxer: make the IDs used by DEMUXER_CTRL_SWITCH_* and DEMUXER_CTRL_IDENTIFY_PROGRAM
...
match those printed as ID_VIDEO_ID/ID_AUDIO_ID and accepted with -vid/-aid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29377 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:47:44 +00:00
reimar
29369f0c33
Add const where appropriate, also gets rid of a compiler warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:43:32 +00:00
reimar
b3f4cd6c52
100l, do not read probe buffer if it will not be used because a format was forced.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29337 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:39:02 +00:00
reimar
ea47ab2a9f
In all demux_info_add calls change "name" to "title".
...
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00:00
lu_zero
97b04458ed
Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag and make sure libnemesi only builds are fine
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 20:28:35 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reynaldo
c9869e7c5b
Get rid of some more trailing whitespace
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:03:35 +00:00
rtogni
0d7de49f1c
chunk size = 0 is valid for DATA chunks (used in live streams), don't
...
print warning message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 21:13:15 +00:00
diego
f077569dff
Add standard license header to all files in libmpdemux.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:51:13 +00:00
diego
537d6886d5
Replace informal GPL license header by standard GPL header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:50 +00:00
diego
e326ffeb9c
Replace informal LGPL header by standard LGPL license header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:03 +00:00
diego
bcb63539f4
Add prototype for mp_a52_framesize().
...
This fixes an implicit declaration warning when liba52 is disabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29264 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:36:31 +00:00
reimar
350ad05cc9
libavformat is now the default for mov, update extension.c to match this.
...
Fixes direct playback of e.g. http://accent.gmu.edu/soundtracks/japanese7.mov
which was played by the native demuxer (and that one is broken for it).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29181 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 08:38:39 +00:00
diego
2e903f7c75
Remove unnecessary malloc.h #includes and related #ifdeffery.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 09:20:48 +00:00
bcoudurier
b578fedf77
override codec tag for pcm s32le and s32be, used in mov
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29124 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 02:31:17 +00:00
diego
df53cdd57d
Add config.h #include, necessary for HAVE_MALLOC_H check.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29123 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 16:28:25 +00:00
reimar
b5fcf45f11
Increase probe buffer size to 32kB, this makes ac3 auto-detection far more reliable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29121 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 09:24:46 +00:00
bcoudurier
9ae48213f8
override lavf tag for pcm s24le, mov uses the same for s24be
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29110 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-30 22:49:28 +00:00
reimar
20a4844e80
Update demuxer->sub->id and demuxer->sub->sh if a new subtitle stream is
...
created that matches the user-requested one.
Fixes -slang and -sid with DVDs (anything that uses demux_mpg actually).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29095 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 11:21:18 +00:00
reimar
eee30602c5
Check for _WINGDI_ instead of _WINGDI_H before defining BITMAPINFOHEADER
...
since former works on both 32 and 64 bit MinGW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29071 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 18:55:21 +00:00
compn
f8a56efb5c
map jls (jpeg-ls), thm and db (thumbnails) files to jpg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29025 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 19:46:13 +00:00
reimar
37e7934dce
Get rid of DEMUXER_TYPE_NUV define, it is no longer used.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28915 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 15:01:53 +00:00
reimar
8c5b570b50
Get rid of nuppelvideo.h and its ugly packed struct and instead write the
...
frame header directly in nuv encoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28914 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 15:01:12 +00:00
reimar
3a0ffa5bf4
Remove now unused parts of nuppelvideo.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28908 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 13:23:27 +00:00
reimar
601d694829
Remove native nuv demuxer, it only needs more code to achieve the same thing
...
as the libavformat demuxer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28907 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 13:11:37 +00:00
reimar
29c8d70242
Remove unused variable from demux_mov.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28879 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 09:28:01 +00:00
reimar
f31339b75b
Fix mp_msg call with too few arguments.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28805 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 08:11:42 +00:00
zuxy
757e575aeb
Be more robust against corrupted RM files that contain invalid packet length
...
by seeking to a known good place when index table is available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28665 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 11:42:05 +00:00
diego
be8c67909b
Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
...
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego
1b915e419e
Replace double semicolon by single semicolon.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 02:00:29 +00:00
zuxy
c39bb23833
Fix a regression caused by r17933; RealMedia index tables could never be printed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28585 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 11:01:26 +00:00
zuxy
ce07cc3b5e
Support seek in multirate RealMedia files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28584 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 10:50:26 +00:00
aurel
de03d58545
change internal real video packetizing format to the more straight forward one
...
see [MPlayer-dev-eng] [PATCH] cleanup/uniformize real video packetizing
patch blessed by Roberto
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28503 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 22:00:57 +00:00
diego
19e71dbc54
Fix a couple of unused variable warnings through the av_unused attribute.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28476 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:29:22 +00:00
diego
2817da6233
Convert CONFIG_ZLIB into a 0/1 option.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28475 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:23:55 +00:00
reimar
75243478ce
Adapt to lzo changes in libavutil
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-02 20:22:36 +00:00
compn
3788789408
increase max subtitle stream limit
...
patch by henryk (irc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 00:44:48 +00:00
diego
0c3d542dc7
WORDS_BIGENDIAN is defined/undefined, not 0/1.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28374 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:56:27 +00:00
nicodvb
39b7c1576d
in parse_pat() IDENTIFY program number and pmt_pid
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28348 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-22 21:50:13 +00:00
cehoyos
83c523f9ea
Fix compilation: s/ff_gcd/av_gcd.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-17 11:29:36 +00:00
reimar
93d598c7b2
Lots and lots of #ifdef ARCH_... -> #if ARCH_...
...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego
762aab4719
Rearrange genres between numbers 53 and 63 into the correct order.
...
patch by Gil Kloepfer, mpldev09 kloepfer org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28283 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-09 10:14:03 +00:00
diego
f506bc4646
Replace reference to LICENSE file with GPL notice from said file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28282 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-09 09:52:20 +00:00
diego
824abb5a65
Add missing 'void' keyword to parameterless function declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
nicodvb
480e153e2f
added support for manual audio substream selection out of 0xFD PES streams (Blueray, multistream in the same pid)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28245 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 13:12:51 +00:00
reimar
c1b27dd874
Code simplification
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28225 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-01 11:41:09 +00:00
reimar
12b1fea30f
Make AVI demuxer more resilient against broken or incomplete files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28224 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-01 11:39:47 +00:00
reimar
69132d6b4b
Increase MAX_PACK_BYTES from 8 or 32 MB (with/without CONFIG_TV_BSDBT848) to always 32 MB.
...
Firstly 32 MB is not that much with HD video and the different
values depending on whether CONFIG_TV_BSDBT848 is set or not
makes debugging harder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28190 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-24 16:05:20 +00:00
reimar
bac1f05b4d
Add extra checks to avoid crashes with broken vqf files
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28149 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-14 15:17:18 +00:00
diego
9fafed66bc
license header consistency cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28144 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:31:07 +00:00
diego
39090878e5
Replace informal GPL notes by standard GPL header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:13:48 +00:00
reimar
5aad4a9721
Simplify: use AV_RL32/AV_RB32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28139 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 09:53:08 +00:00
reimar
80530d6210
Avoid useless casts.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28138 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 09:44:51 +00:00
ods15
230b35cb50
Warning fixes for demux_nut
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28135 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-12 05:08:28 +00:00
ods15
9114f797ef
Remove resync_audio_stream() from demux_nut seek function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28134 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-12 05:07:18 +00:00
ods15
9f59bf540e
Rename typedefs in demux_nut to _tt instead of _t, sync to new libnut API
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28133 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-12 04:58:54 +00:00
diego
0864f92e7a
Get rid of pointless 'extern' keywords.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego
c612907d1c
MNG demuxer by Stefan Schuermans, stefan blinkenarea org
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28052 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:22:34 +00:00
reimar
49eb5ef4dd
Use 64 bit numbers for file positions in the seek function in audio demuxer.
...
Hopefully fixes seeking in wav files in-between 2 and 4 GB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27938 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 10:20:58 +00:00
aurel
97293969b4
Factorize vobsub idx/extradata handling.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27841 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-27 22:51:22 +00:00
attila
65e06f1c5f
increase the max RTP packet size to 5MB as modern Elphel
...
cameras do produce such huge packets.
Requested by Alexandre Poltorak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27810 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-22 16:08:26 +00:00
diego
7136bb0105
Move likely/unlikely macros to libmpdemux/demuxer.h where they are used.
...
config.h should only contain option definitions, no logic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:26:01 +00:00
ods15
505834ccb8
Fix double free in demux_nut, patch by Onur Küçük.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27764 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:32:20 +00:00
cehoyos
a6b9c80b25
Remove unused line (and fix an icc warning).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27739 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:10:31 +00:00
cehoyos
f49e1f1e8f
Correctly place second const in declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27724 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 23:16:49 +00:00
diego
980239fa82
Move find_backwards_asf_guid asfguid.h to asfheader.c, the only place where
...
it is used. Fixes the following warning:
./libmpdemux/asfguid.h:94: warning: 'find_backwards_asf_guid' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27723 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 21:44:42 +00:00
gpoirier
bf0e018a68
fix compilation w/ FFmpeg r15533
...
patch by Andrew Wason %rectalogic A rectalogic P com%
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27688 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 14:54:22 +00:00
reimar
0651813cb0
Apply patch for oCERT #2008-013 / CVE-2008-3827
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27675 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-30 10:44:50 +00:00
reimar
fdcf78eec4
Do not special-case a grouping-subsegment length of 0.
...
Fixes samples/asf-wmv/quicktime.wmv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27664 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-25 17:11:01 +00:00
diego
ec0ba2f460
riff.h and avi.h are not needed, but avio.h is.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27616 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 15:30:06 +00:00
diego
4ca1fa0a08
Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:40:29 +00:00
uau
4768e340ab
Make internal Matroska demuxer default again
...
Undo Aurelien's previous commit which made the lavf demuxer the
default. SSA/ASS subtitles do not work properly with the lavf demuxer
at the moment. That's much more important than any issues with the
internal demuxer. The internal demuxer must remain the default at least
until the subtitle issues are resolved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27556 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 14:45:50 +00:00
aurel
9500a8cc9c
revert r27551 which break much more things than it fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27555 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 14:28:44 +00:00
uau
a4b5780c2f
Use internal demuxer for Matroska files for now
...
Change the default demuxer back to the internal one at least until the
current lavf breakage with SSA/ASS subtitles is sorted out. There have
also been quite a few other regressions so maybe the lavf demuxer
should be tested a bit more before trying to make it the default again.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27551 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 21:26:24 +00:00
uau
212b51434f
Revert bad changes to SSA/ASS subtitle packet format
...
The following commits are reverted partially or completely:
"a valid ASS line contains 9 ',' before actual text"
"demux_mkv: output correctly formated ASS packets"
"libass: add a new ass_process_data() to process demuxed subtitle packets"
These commits converted the internal representation of SSA/ASS
subtitle packets from the format used by Matroska to a custom format
where each packet has contents exactly matching one line in complete
SSA script files. AFAIK no files natively use such a format for muxed
subtitles. The stated reason for this change was to use a format that
could in principle be muxed into a maximal number of containers. SSA
subtitles do not have an implicit duration so both start time and
duration or end time need to be specified explicitly; the new format
moved timing information inside the codec packet data so it could be
muxed without modification into containers that can represent only
start time at the container level. However such a change is wrong from
the viewpoint of program architecture. Timing information belongs to
the demuxer level, but these commits moved not only the duration but
also the authoritative value of the start time to inside the codec
data. Additionally the new format lost the value of the Matroska
ReadOrder field which is used by MPlayer.
This commit changes the internal packet format back to that used by
Matroska and makes the internal Matroska demuxer output that format
again. Libavformat still outputs the "new" format; it could be
converted back to the Matroska format in demux_lavf.c, but I'm not
adding that code at least yet. The current lavf code has similar
problems as the reverted code in MPlayer, and it also currently fails
to provide any way to access the value of the ReadOrder field. I hope
that the lavf side will be improved; if it isn't conversion can be
added later. For now I'll make MPlayer default to the internal Matroska
demuxer instead of the lavf one in a separate commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27550 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 21:26:22 +00:00
uau
923f67082e
Fix compilation after libavcodec major version 52 changes
...
Some symbols were dropped or renamed, requiring corresponding changes
in MPlayer.
- Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample.
- Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT.
- Don't set AVCodecContext->rtp_mode (already marked unused before).
- Use ff_eval2() instead of ff_eval().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27548 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 17:02:32 +00:00
aurel
79874cb4ea
demux_mkv: output correctly formated ASS packets
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27529 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 14:18:05 +00:00
aurel
237ae0ac8a
lavf: the subtitles display duration is stored in pkt.convergence_duration
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27525 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 23:34:27 +00:00
aurel
bae94777d7
support E-AC-3 decoding using ffmpeg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27514 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:37:50 +00:00
reimar
daa3eda91f
Remove unused GUID_t definition that also incorrectly defined GUID_DEFINED
...
(while actually not defining GUID, only GUID_t).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27500 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 11:21:29 +00:00
aurel
a5f69284d9
handle the lavfpref demuxer in the same way as the lavf one
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-27 11:31:53 +00:00
aurel
6c675482ff
prefer libavformat to demux matroska files
...
I can't spot any regression anymore. If you find one, please tell me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27484 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 21:12:48 +00:00
aurel
6d97b19a73
cosmetics: indentation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27480 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 00:08:55 +00:00
aurel
68ac7b23dd
use new lavf API to grab sample_aspect_ratio from the demuxers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27479 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 00:07:09 +00:00
aurel
d745a24978
add mapping for real audio and video CODEC_ID to MPlayer's fourcc
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27461 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-13 22:09:33 +00:00
aurel
03e568867e
demux_lavf: fix mp_seek behavior in case of seeking error
...
When trying to seek past the end of file, the ByteIOContext expect
that the stream is left in the same state as it was before the
tentative seek. stream_seek() does not meet this expectation.
It changes current position when seeking past the end of file.
Thus, it is necessary to reset the stream to its previous state
after a seek failure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27459 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-13 00:01:31 +00:00
compn
d4bf4c946c
fix audio in some rtsp streams, ok'd by lu_zero
...
patch by Changjin Liu - !lcj.liu!at!gmail!com!
http://thread.gmane.org/gmane.comp.video.mplayer.user/56893/focus=56894
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27449 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-11 17:32:31 +00:00
diego
e0b1c9a6b7
Give a CONFIG_ prefix to preprocessor directives that lacked one and
...
change arbitrary prefixes to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego
e98e792843
10l: MUSEPACK --> CONFIG_MUSEPACK
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27427 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 11:19:54 +00:00
diego
091d352d06
Rename font-related preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego
141e81cce4
Rename a bunch of miscellaneous preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 08:58:07 +00:00
diego
473e2824cb
Rename all preprocessor directives related to Apple / Mac OS X.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +00:00
diego
0a749ffdc5
Rename preprocessor directives related to image libraries.
...
Change a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +00:00
diego
02135001b4
Change a bunch of video/audio-output-specific preprocessor directives from
...
a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego
96a506733d
Change a bunch of codec-specific preprocessor directives from a HAVE_
...
prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 16:30:32 +00:00
diego
d17f9943af
Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
...
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego
4b141479da
Start unifying names of internal preprocessor directives.
...
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
ptt
aba5ea4a69
changed 'Audio file' to 'Audio only' (to not get 'Audio file file' when played)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27365 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-29 11:17:52 +00:00
compn
3069de886e
add ffvp6a codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27356 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 01:01:54 +00:00
compn
b3978d78b2
add ffmotionpixels codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27355 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 00:50:39 +00:00
reimar
bf91f83022
Get rid of horrible code that relies on codec-set context variable,
...
it is useless anyway since all the necessary information is available anyway.
This also makes MPlayer display the correct length for Theora-in-Ogg-Videos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27354 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 22:27:50 +00:00
reimar
4153f4e21c
Avoid including avcodec.h in demuxer.h (and thus many other files) just to get
...
FF_INPUT_BUFFER_PADDING_SIZE.
Instead use MP_INPUT_BUFFER_PADDING_SIZE and add a preprocessor check that it
is big enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27314 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 17:14:12 +00:00
reimar
9254d010ea
limits.h is required for UINT_MAX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27305 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 18:51:39 +00:00
reimar
b422b105d7
And a 1000l for r27263, swapped a condition, thus setting size to
...
0 when malloc succeeded instead of when it failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27304 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 17:48:34 +00:00
reimar
2f5b26277f
100l, fix calloc being called with the wrong argument due to reordering
...
two lines in SVN r27263
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27303 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 17:28:19 +00:00
reimar
4a46fcaebc
Make sure demuxed ASF packet is properly padded after descrambling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27302 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:43:40 +00:00
reimar
e870f84bfb
Move duplicate FF_INPUT_BUFFER_PADDING_SIZE handling into demuxer.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27301 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:18:25 +00:00
reimar
3f35a38237
Do not just print a warning, also fix the len in ASF demuxer!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27299 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:06:14 +00:00
reimar
95cee5309f
Change a broken check. FFMAX does not work as intended because trak->chunkmap[i].first
...
is unsigned and j is signed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27280 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-14 15:49:59 +00:00
reimar
468f0e9763
100l, do not use macros on functions that are not idempotent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27275 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 16:56:00 +00:00
reimar
c0455325f0
Reindent after last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27266 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:04:29 +00:00
reimar
d8b29c80d5
Check size of tkdata before using it in mov demuxer.
...
Fixes bug #1170 and others.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27265 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 22:03:01 +00:00
reimar
49ddf2e0f5
Add atom_len sanity check to mov demuxer.
...
Fixes bug #1168
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 21:59:17 +00:00
reimar
baae5f1bdd
Quick hack to fix demux_mov crashes where easily possible.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27263 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 20:22:07 +00:00
reimar
6da3883a44
1000l, fix demux_lavf compilation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27251 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:04:36 +00:00
reimar
3ee9460505
Correct stream-seekability tests in demux_audio and demux_lavf
...
Based on a patch by Alexander Kanavin (alexander.kanavin nokia com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27250 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 17:25:37 +00:00
reimar
8833f7c4ce
Only read wav header cbSize when there is enough space in header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27249 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 20:10:11 +00:00
reimar
646838e446
100l, assignment introduced in r27246 was exactly the wrong way around.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27248 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 20:06:43 +00:00
reimar
6f96a10094
Cosmetics: reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27247 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 19:30:23 +00:00
reimar
bbb598b9eb
Clean up reading of wav extradata.
...
Fixes bug #1135
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27246 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 19:29:02 +00:00
reimar
80256aee5e
Fix stupid and almost pointless check-after-read code in asfheader.c.
...
Fixes bug #1133 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27243 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 18:24:48 +00:00
diego
8365a97450
Use correct PRIu64 length modifier for uint64_t value, fixes the warning:
...
libmpdemux/mpeg_packetizer.c:61: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'uint64_t'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27233 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 08:17:50 +00:00
diego
a77608b67a
Add support for MLP audio through FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27232 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 12:17:46 +00:00
diego
1c010f2202
Add standard license header for NuppelVideo, i.e. GPL v2+.
...
The code taken from NuppelVideo consists of just a bunch of struct
definitions, which are not copyrightable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27224 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 15:12:32 +00:00
reimar
869e44fdcc
Check stdata_len before accessing stdata. Fixes bug #1125
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27194 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 15:47:31 +00:00
reimar
100554a37f
Replace asserts by proper conditions to allow playback of some broken but
...
still playable files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27154 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-29 10:06:19 +00:00
reimar
2293c79521
Make sure we do not use uninitialized data in case of a short read.
...
Not really relevant but fixes bug #1109
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27143 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-29 07:34:44 +00:00
reimar
d5e01cffea
Do not use stdata before checking its length
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27142 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-29 07:25:47 +00:00
compn
c191e0424b
add support for /game-formats/psx-str/
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27133 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-24 12:15:31 +00:00
diego
bc9ab4990b
Add missing #includes that are required for things used in the header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27095 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-17 09:09:36 +00:00
diego
437b206595
cosmetics: Remove useless parentheses, align.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27091 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 17:33:55 +00:00
reimar
3e081f4563
Chapter support for lavf demuxer.
...
Patch by Anton Khirnov [wyskas gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27090 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 15:54:29 +00:00
reimar
80141566b6
Support NULL name parameter for demuxer_add_chapter.
...
Patch by Anton Khirnov [wyskas gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27089 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 15:53:28 +00:00
diego
b01b384616
cosmetics: Break overly long lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27088 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 12:54:28 +00:00
diego
ed59b9030e
cosmetics: indentation, whitespace changes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27087 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 12:11:14 +00:00
diego
005cf981d4
cosmetics: consistent * placement
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27086 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 12:04:58 +00:00
diego
d77499b1fe
cosmetics: one more if brace placement fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 11:35:20 +00:00
diego
0d9f0ba013
M-x untabify
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27084 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 10:52:39 +00:00
diego
057924754d
cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27083 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 10:50:53 +00:00
diego
8cf83f75ee
cosmetics: Split/join multiline statements.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27082 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 10:49:40 +00:00
diego
11b1a351b3
cosmetics: Consistently format all if, for, while constructs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27081 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 10:31:05 +00:00
diego
f306f79bd0
Remove one more commented-out line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27080 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 09:51:40 +00:00
diego
90ff0f7dcc
cosmetics: Make all function declarations consistent by moving the opening
...
braces to the next line and breaking long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27079 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 09:22:41 +00:00
diego
939ee3203a
Remove one more commented-out line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27078 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 09:20:59 +00:00
diego
14ecf4cdb9
Remove pointless comments and commented-out code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27077 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 08:57:47 +00:00
lu_zero
e48c36a84a
Unbreak audio, thanks to Uoti for the insight
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27055 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-12 21:53:48 +00:00
diego
625d77f9fc
Remove unused variable, fixes the warning:
...
libmpdemux/demux_ts.c:3130: warning: unused variable 'd_sub'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27036 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:50:35 +00:00
nicodvb
c4df30a358
call demux_flush() where appropriate
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26960 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 10:22:46 +00:00
nicodvb
02c779f1cf
use demux_flush() where appropriate
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26959 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 10:18:44 +00:00
nicodvb
e14b550cf6
added and reused demux_flush() instead of emptying the demux_stream buffers;
...
patch by Bryan Henderson - giraffedata gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26958 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 10:17:48 +00:00
reimar
cc6c63c03c
Initialize sh_audio/sh_video->ds
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26908 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 17:35:38 +00:00
reimar
ff6007357f
Simplify/make new_sh behaviour more consistent when a stream gets redefined.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26907 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 17:33:13 +00:00
reimar
fba4b13c9b
Cosmetics: simplify
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26906 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 17:30:20 +00:00
reimar
158b5133ff
Move native musepack demuxer further down in demuxer list
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26905 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 17:27:06 +00:00
compn
68fef9a517
add qclp fourcc
...
fixes http://samples.mplayerhq.hu/A-codecs/qclp/tube.3g2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26878 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-26 13:04:07 +00:00
reimar
ae94f470b2
Make internal subtitle and subtitle switching work with -audiofile
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26849 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-21 18:45:30 +00:00
reimar
2bdedd33ed
Use av_alloc_put_byte instead of custom protocol.
...
This needs less code and less hacks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26848 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-21 18:21:05 +00:00
reimar
efeb534cc8
Continue detection if it is not clear if we have a MP3 or flac file.
...
Fixes http://samples.mplayerhq.hu/A-codecs/MP3/01%20-%20Charity%20Case.mp3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26844 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-21 16:07:37 +00:00
compn
3ea9517367
add ffmpeg ea maxis xa adpcm audio decoder
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 23:31:05 +00:00
diego
c4f6f66f9e
cosmetics: Remove pointless parentheses from return statements.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26790 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:41:00 +00:00
diego
7c0eee9bce
Remove unused function, fixes the warning:
...
libmpdemux/demux_mkv.c:2242: warning: 'demux_mkv_reverse_id' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-15 21:25:41 +00:00
diego
26166492dc
Remove unused variable, fixes the warning:
...
libmpdemux/demux_mkv.c:1401: warning: unused variable 'mkv_d'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-15 15:54:17 +00:00
diego
fddec2a0e2
cosmetics: Break overly long lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-15 13:52:44 +00:00
diego
0c5ff8e9d9
Mark static tables const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-15 13:48:23 +00:00
diego
c733664aaf
Mark files that were imported from the MJPEG Tools suite as such.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 18:16:38 +00:00
diego
0c6e4c6dbd
10l: Revert license header cleanup on imported files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 18:11:45 +00:00
diego
4adf8975a1
Use standard license headers with standard formatting.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 18:01:51 +00:00
compn
3642bdba84
add rl2 codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26767 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 13:56:14 +00:00
compn
6d1481e91b
add ffptx , works on ptx samples
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-12 02:09:47 +00:00
diego
f1579b88c9
cosmetics: wording/spelling fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26734 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-11 12:03:26 +00:00
michael
5f4cface7b
AVOption support for lavf demuxing
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26728 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 19:29:38 +00:00
michael
2ce3df53b1
AVOptions support for lavf muxing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26727 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 19:22:41 +00:00
michael
13b723459b
Replace a really ugly hack by a clean but not thread safe solution.
...
(no threads so no problem anyway ...)
This fixes the segfault with lavf muxing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26722 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 17:19:18 +00:00
diego
96fa9c4e24
Mike Baker agreed to relicense his parts of the code as GPL v2+ on IRC.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26680 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-07 08:01:51 +00:00
eugeni
547cc5772c
Check ASF packet size before calling demux_asf_read_packet. Fixes segfault
...
with damaged ASF files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26644 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-02 13:33:14 +00:00
diego
7d560418f6
Remove unnecessary version.h #includes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26602 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 11:03:41 +00:00
diego
aaf2c51e8a
Merge libmpdemux/Makefile into top-level Makefile.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26523 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 22:05:43 +00:00
diego
6a23615946
#include base64.h with full path.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26518 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 16:49:31 +00:00
diego
9785107814
EXTRAXX_INC flags should now be added to .depend compilation,
...
not to the phony depend target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26508 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-23 09:42:09 +00:00
reimar
ea35e0563d
Take audio delay into account when seeking in avisynth demuxer.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26505 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-23 07:50:54 +00:00
reimar
4fd37efa40
Calculate fps as double-precision to make switching to double-precision fps values easier.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26504 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-23 07:49:51 +00:00
diego
41be611f0a
.depend has to get all the CFLAGS that the files it contains dependency
...
information for need.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26500 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 22:14:06 +00:00
diego
6c2394f0b4
Add BFI video support through FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26491 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 10:14:55 +00:00
rtogni
e37a6b5b58
Revert r26412: policy violation
...
Mixes cosmetics and functional changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26470 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-19 16:53:44 +00:00
rtogni
a8717a3eee
Revert r26411: policy violation
...
Reindent of the file is not allowed
Controversial cosmetics changes with no previous discussion
Mix cosmetics and non-cosmetic changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26469 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-19 16:51:28 +00:00
reimar
11b4999712
Prefer libavformat musepack demuxer over internal one (which does not even support v8).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26455 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-16 12:03:34 +00:00
uau
c9e6af5949
demux_asf: Fix operator precedence in packet length check
...
Change (len & 3-1) to correct ((len & 3) - 1) in packet length check.
Also change "a - 1 < b" to simpler "a <= b".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26446 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 23:04:07 +00:00