Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1e339f2e
Commit
1e339f2e
authored
Dec 12, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: use NULL for pointers
parent
7a8e2cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+2
-3
No files found.
modules/stream_out/transcode.c
View file @
1e339f2e
...
...
@@ -1454,7 +1454,7 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
*/
id
->
p_decoder
->
fmt_out
=
id
->
p_decoder
->
fmt_in
;
id
->
p_decoder
->
fmt_out
.
i_extra
=
0
;
id
->
p_decoder
->
fmt_out
.
p_extra
=
0
;
id
->
p_decoder
->
fmt_out
.
p_extra
=
NULL
;
id
->
p_decoder
->
pf_decode_video
=
NULL
;
id
->
p_decoder
->
pf_get_cc
=
NULL
;
id
->
p_decoder
->
pf_get_cc
=
0
;
...
...
@@ -1467,7 +1467,7 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
return
VLC_EGENERIC
;
for
(
i
=
0
;
i
<
PICTURE_RING_SIZE
;
i
++
)
id
->
p_decoder
->
p_owner
->
pp_pics
[
i
]
=
0
;
id
->
p_decoder
->
p_owner
->
pp_pics
[
i
]
=
NULL
;
id
->
p_decoder
->
p_owner
->
p_sys
=
p_sys
;
/* id->p_decoder->p_cfg = p_sys->p_video_cfg; */
...
...
@@ -1646,7 +1646,6 @@ static void transcode_video_encoder_init( sout_stream_t *p_stream,
f_scale_height
=
(
float
)
p_sys
->
i_maxheight
/
i_src_height
;
}
/* Change aspect ratio from source pixel to scaled pixel */
f_aspect
=
f_aspect
*
f_scale_height
/
f_scale_width
;
msg_Dbg
(
p_stream
,
"scaled pixel aspect is %f:1"
,
f_aspect
);
...
...
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