Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2c75bfcb
Commit
2c75bfcb
authored
Jan 27, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix [24573]
parent
bfdbb36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/gui/macosx/voutqt.m
modules/gui/macosx/voutqt.m
+2
-4
No files found.
modules/gui/macosx/voutqt.m
View file @
2c75bfcb
...
...
@@ -704,8 +704,7 @@ static int QTNewPicture( vout_thread_t *p_vout, picture_t *p_pic )
p_pic
->
p_sys
->
i_size
=
p_vout
->
output
.
i_width
*
p_vout
->
output
.
i_height
*
2
;
/* Allocate the memory buffer */
p_pic
->
p_orig_data
=
p_pic
->
p_data
=
malloc
(
p_pic
->
p_sys
->
i_size
);
p_pic
->
p_data_orig
=
p_pic
->
p_data
=
malloc
(
p_pic
->
p_sys
->
i_size
);
/* Memory is always 16-bytes aligned on OSX, so it does not
* posix_memalign() */
assert
(
(((
uintptr_t
)
p_pic
->
p_data
)
%
16
)
==
0
);
...
...
@@ -727,8 +726,7 @@ static int QTNewPicture( vout_thread_t *p_vout, picture_t *p_pic )
p_pic
->
p_sys
->
i_size
=
sizeof
(
PlanarPixmapInfoYUV420
);
/* Allocate the memory buffer */
p_pic
->
p_orig_data
=
p_pic
->
p_data
=
malloc
(
p_vout
->
output
.
i_width
p_pic
->
p_data_orig
=
p_pic
->
p_data
=
malloc
(
p_vout
->
output
.
i_width
*
p_vout
->
output
.
i_height
*
3
/
2
);
/* Memory is always 16-bytes aligned on OSX, so it does not
* posix_memalign() */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment