Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
b79655d3
Commit
b79655d3
authored
Dec 01, 2016
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qtdemux: Ensure that size of the pasp atom is as much as we need
https://bugzilla.gnome.org/show_bug.cgi?id=775455
parent
d46cc8df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
gst/isomp4/qtdemux.c
gst/isomp4/qtdemux.c
+8
-2
No files found.
gst/isomp4/qtdemux.c
View file @
b79655d3
...
...
@@ -9762,9 +9762,15 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
if
(
pasp
)
{
const
guint8
*
pasp_data
=
(
const
guint8
*
)
pasp
->
data
;
gint
len
=
QT_UINT32
(
pasp_data
);
stream
->
par_w
=
QT_UINT32
(
pasp_data
+
8
);
stream
->
par_h
=
QT_UINT32
(
pasp_data
+
12
);
if
(
len
==
16
)
{
stream
->
par_w
=
QT_UINT32
(
pasp_data
+
8
);
stream
->
par_h
=
QT_UINT32
(
pasp_data
+
12
);
}
else
{
stream
->
par_w
=
0
;
stream
->
par_h
=
0
;
}
}
else
{
stream
->
par_w
=
0
;
stream
->
par_h
=
0
;
...
...
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