Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e2fb5392
Commit
e2fb5392
authored
Jul 16, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash on .rm/rv30 file
Forward all available codec data to libavcodec Closes: #4254
parent
3ee38030
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/real.c
modules/demux/real.c
+3
-3
No files found.
modules/demux/real.c
View file @
e2fb5392
...
...
@@ -1377,12 +1377,12 @@ static int CodecVideoParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
fmt
.
video
.
i_frame_rate
=
(
GetWBE
(
&
p_data
[
22
]
)
<<
16
)
|
GetWBE
(
&
p_data
[
24
]
);
fmt
.
video
.
i_frame_rate_base
=
1
<<
16
;
fmt
.
i_extra
=
8
;
fmt
.
p_extra
=
malloc
(
8
);
fmt
.
i_extra
=
i_data
-
26
;
fmt
.
p_extra
=
malloc
(
fmt
.
i_extra
);
if
(
!
fmt
.
p_extra
)
return
VLC_ENOMEM
;
memcpy
(
fmt
.
p_extra
,
&
p_data
[
26
],
8
);
memcpy
(
fmt
.
p_extra
,
&
p_data
[
26
],
fmt
.
i_extra
);
//msg_Dbg( p_demux, " - video 0x%08x 0x%08x", dw0, dw1 );
...
...
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