Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
510b39c2
Commit
510b39c2
authored
Feb 06, 2015
by
Timothy Gu
Committed by
Michael Niedermayer
Feb 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nutdec: Remove unused variables
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e66a1876
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
nutenc.c
libavformat/nutenc.c
+0
-2
No files found.
libavformat/nutenc.c
View file @
510b39c2
...
@@ -168,7 +168,6 @@ static void build_frame_code(AVFormatContext *s)
...
@@ -168,7 +168,6 @@ static void build_frame_code(AVFormatContext *s)
int
start2
=
start
+
(
end
-
start
)
*
stream_id
/
s
->
nb_streams
;
int
start2
=
start
+
(
end
-
start
)
*
stream_id
/
s
->
nb_streams
;
int
end2
=
start
+
(
end
-
start
)
*
(
stream_id
+
1
)
/
s
->
nb_streams
;
int
end2
=
start
+
(
end
-
start
)
*
(
stream_id
+
1
)
/
s
->
nb_streams
;
AVCodecContext
*
codec
=
s
->
streams
[
stream_id
]
->
codec
;
AVCodecContext
*
codec
=
s
->
streams
[
stream_id
]
->
codec
;
const
AVCodecDescriptor
*
desc
=
avcodec_descriptor_get
(
codec
->
codec_id
);
int
is_audio
=
codec
->
codec_type
==
AVMEDIA_TYPE_AUDIO
;
int
is_audio
=
codec
->
codec_type
==
AVMEDIA_TYPE_AUDIO
;
int
intra_only
=
/*codec->intra_only || */
is_audio
;
int
intra_only
=
/*codec->intra_only || */
is_audio
;
int
pred_count
;
int
pred_count
;
...
@@ -420,7 +419,6 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc,
...
@@ -420,7 +419,6 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc,
{
{
NUTContext
*
nut
=
avctx
->
priv_data
;
NUTContext
*
nut
=
avctx
->
priv_data
;
AVCodecContext
*
codec
=
st
->
codec
;
AVCodecContext
*
codec
=
st
->
codec
;
const
AVCodecDescriptor
*
desc
=
avcodec_descriptor_get
(
codec
->
codec_id
);
ff_put_v
(
bc
,
i
);
ff_put_v
(
bc
,
i
);
switch
(
codec
->
codec_type
)
{
switch
(
codec
->
codec_type
)
{
...
...
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