Commit Graph

22189 Commits

Author SHA1 Message Date
rtogni eacf95dc11 strncat() misuses, may have been exploitable.
Reported by Sascha Sommer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 18:00:06 +00:00
rtogni 656c22ca16 Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:57:02 +00:00
rtogni 2ea691d6f3 Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.
Reported by Moritz Jodeit


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:55:49 +00:00
rtogni 5f85ff89ea More boundary checks for fixed-length arrays. Some of them may have been
exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:54:18 +00:00
reimar c0d2859fc8 Clear/update subtitles after seeking backwards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22202 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 13:23:13 +00:00
nicodvb 8db59ea549 some clarification about dvb-out playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22201 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 11:03:09 +00:00
reimar 6ca4e1b4e8 Move variable declaration to appropriate place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 20:33:27 +00:00
reimar 7111287409 Cosmetics: remove tabs added in last commit from otherwise tab-free file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22199 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 20:32:56 +00:00
uau b7b0d8664d Fix memory leak when changing playback speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22198 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 19:47:22 +00:00
uau e876e45030 Fix memory leaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22197 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 18:12:03 +00:00
uau 945cb3447e Use AF_NCH for max number of channels instead of private CHANS define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 18:05:18 +00:00
gpoirier ce01be84d1 sync w/r22150
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 17:53:41 +00:00
uau 6ffcc5caa5 Fix nonsense tests like previously in af_pan.
Probably no practical effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22194 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 17:31:18 +00:00
uau b89e99cadc Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
Probably doesn't matter in practice.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22193 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 17:27:11 +00:00
michael f1380572e1 clarify description of reserved_count in frame header patch by (Clemens Ladisch cladisch,fastmail,net)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22192 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 17:00:03 +00:00
nicodvb df3bc9b5aa removed ages-old and insane #if0-ed and commented code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22191 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 12:19:36 +00:00
gpoirier d00ed92fab Changelog update, based on Compn's patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22190 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 22:38:26 +00:00
nicodvb 53baf834df vc1 in mpeg*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22189 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:23:54 +00:00
nicodvb 7ac4b89663 substream id 0x98..0x9f identifies dts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:21:20 +00:00
kraymer 019a2a80e4 r22150: key-fifo-size default changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22187 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:12:15 +00:00
kraymer ecdd5cb5dd r22184: When setting the non-audio bit for hwac3 output, ...
r22185: only output fail/success message, this was wrong from the beginning


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22186 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:09:52 +00:00
kraymer ca6bb8af93 only output fail/success message, this was wrong from the beginning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22185 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:57:56 +00:00
cladisch d091c1165b When setting the non-audio bit for hwac3 output, just try to set the
AES0 parameter in the device name instead of poking around inside ALSA's
configuration structures.  This means that the non-audio bit will be set
even if the user-specified device name tries to clear it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22184 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:49:31 +00:00
nicodvb 9b618f615e when seeking in h264 sync to idr frames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22183 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:47:20 +00:00
uau 3fc21bb6e7 Handle libavformat libnut dependencies.
Fixes compilation after ffmpeg r7891.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22182 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:44:43 +00:00
nicodvb 9194c790ea when playing vc1 content sync to sequence or entry point header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22181 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:44:21 +00:00
nicodvb 1f357e2f06 vc1 in mpegts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22180 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:39:31 +00:00
kraymer b847fc1727 fix typo, line break, wording
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22179 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 18:10:17 +00:00
kraymer 2c2a39d307 missing escape character
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22178 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 17:11:21 +00:00
reimar d6e4924711 Quick hack mostly for documentation purposes to make -aid work with mms://
Sample: mms://212.191.227.121/308gwY8TZqvHUpsq4dbZnsijbiCi9j3KsguBrfbm2FiDMlBadHuF0g0%2b1%2bUKG84F2Sl6DVTxHNtNuMxa%2f55j0imtiKswx8ev7cEYxvNuAlSBioF3nYmzTAM71xKiTHjM6%2fqejrQgFg7srIdntNoIw%2fyw%3d%3d/1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22177 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 17:03:24 +00:00
reimar 767fea6f4f Avoid crash when uninit is called without ever calling config in x264 encoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22176 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 15:42:53 +00:00
reimar a63f68fb4c Make sure sub->sh is set when a subtitle is selected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 14:19:18 +00:00
reimar 0d48d2f02c Cosmetics: add space after comma in output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22174 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 11:27:18 +00:00
nicodvb 0d94dac274 when seeking and the codec is VC1 sync to sequence or entry point headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22173 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:56:08 +00:00
nicodvb b383bd659a when the video codec is mpeg4video copy the content of the esds in extradata; patch by ceyes ag or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22172 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:41:07 +00:00
iive cb3c29effe Revert part of commit r22170.
FFmpeg lavcodecs version is still 
(or according to ffmpeg commit r7868, it's back to)
49.3.0, so global variables are not yet directly accessable (if ever).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 12:31:37 +00:00
reimar 8ff440d6a4 Fix compilation after deprecation of some lav log level and
pixel format stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22170 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 09:58:23 +00:00
gpoirier 860dd21ab1 Fix libnut build failure.
Use CONFIG_LIBNUT like ffmpeg's configure, instead of LIBNUT.
Patch by Clemens Ladisch % cladisch A fastmail P net %


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 09:00:11 +00:00
reimar 07b655f0e8 Support selecting a specific lavf demuxer and listing available ones via -lavfdopts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22168 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 22:15:20 +00:00
reimar 23f4a0d1e2 Avoid calling aspect on each frame and make ass subtitles work better with panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22167 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:26:58 +00:00
reimar db7e024216 Support some weird AVI header, fixes bug 742
(http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:01:28 +00:00
reimar c8e55fd4bc Add missing checks in RealVideo slice handling code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22165 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 18:30:56 +00:00
gpoirier fad5b59443 sync w/r22107
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22164 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 13:56:40 +00:00
uau dd9ef5468e reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22163 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 00:24:49 +00:00
uau b5c470a029 Fix multiple appearing or appearing+disappearing subs in the same frame
in non-ASS mode. The latter is common (old sub replaced by new) and 
resulted in an incorrect frame where both appeared simultaneously.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22162 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 00:18:35 +00:00
uau d524405f5c Add missing type to declaration and remove unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22161 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:56:18 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
uau ca7997a50c Fix code updating subtitle array which only moved the text, not endpts.
Led to multiple subtitles on screen disappearing too early without -ass.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22159 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:25:50 +00:00
reimar 2225b00ca6 Make sure buffer is aligned so no unaligned access happens.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22158 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 19:24:03 +00:00
voroshil bbc6f9a1c3 r22104: Add global field dominance flag instead of duplicating this "everywhere"
r22107: Move -vo gl suboptions that should be irrelevant for the average user
r22108: formatting fixes for r22104
r22113: insert line break for readability
r22123: tinterlace mode 4 leaves height unchanged.
r22127: Fix vqscale description to match at least somewhat the code.
r22137: formatting/wording
r22138: wording/formatting
r22150: key-fifo-size default changed


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22157 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 19:07:19 +00:00