Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Jean-Baptiste Kempf
vlc
Commits
92519fab
Commit
92519fab
authored
May 03, 2018
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mjpeg: fix callback init order
parent
7f59a7eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+2
-1
No files found.
modules/demux/mjpeg.c
View file @
92519fab
...
...
@@ -308,7 +308,6 @@ static int Open( vlc_object_t * p_this )
if
(
unlikely
(
p_sys
==
NULL
)
)
return
VLC_ENOMEM
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
;
p_sys
->
p_es
=
NULL
;
p_sys
->
i_time
=
VLC_TS_0
;
...
...
@@ -388,6 +387,8 @@ static int Open( vlc_object_t * p_this )
es_format_Init
(
&
p_sys
->
fmt
,
VIDEO_ES
,
VLC_CODEC_MJPG
);
p_sys
->
p_es
=
es_out_Add
(
p_demux
->
out
,
&
p_sys
->
fmt
);
p_demux
->
pf_control
=
Control
;
return
VLC_SUCCESS
;
}
...
...
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