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
dd99f3c0
Commit
dd99f3c0
authored
May 25, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avodec: unused variable
parent
53c90158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+1
-1
No files found.
modules/codec/avcodec/encoder.c
View file @
dd99f3c0
...
...
@@ -902,7 +902,6 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
{
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
int
i_out
,
i_plane
,
i_got_packet
=
1
;
AVPacket
av_pkt
;
/* Initialize the video output buffer the first time.
* This is done here instead of OpenEncoder() because we need the actual
...
...
@@ -914,6 +913,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
block_t
*
p_block
=
block_Alloc
(
blocksize
);
#if (LIBAVCODEC_VERSION_MAJOR >= 54)
AVPacket
av_pkt
;
/*We don't use av_pkt with major_version < 54, so no point init it*/
av_init_packet
(
&
av_pkt
);
av_pkt
.
data
=
p_block
->
p_buffer
;
...
...
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