1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
nick
e9230074bd Code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2597 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 18:46:30 +00:00
jkeil
009d2b0dc7 yuv2rgb_mmx crashes with ffdivx codec, when we play back avi files that have
a frame width that is not an exact multiple of 8.

Testcase: 405.avi (356x240).  Playing on an MMX capable x86 system using the
x11 video-out driver results in a segfault.

The MMX routines convert image data in quantities of 8 pixels in each loop,
and the inner loop was not terminated in case there are only 1-7 pixels left,
producing too much RGB output.

For now, just ignore the last few pixels on each row, to avoid the segfaults.
(Gives a black vertical border on the right, if you play a video with
width%8 != 0)  A possible future enhancement would be, to add a second loop
to convert the last width%8 pixels to RGB using a byte loop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1307 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:23:26 +00:00
atmosfear
f4e97b214b Code cleanup and fix missing config.h and use femms on K6 2/2+/3.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1102 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-11 17:43:15 +00:00
atmosfear
00fa8d7f83 Should fix prob for gcc 2.96/3.0 users, please test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1099 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-11 16:13:30 +00:00
nickols_k
2c071ee1ff movntq causes SIGILL on k6-3. Lets it be for K7, P3 cpus only
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@689 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-02 14:59:33 +00:00
arpi_esp
d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00