Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6ff15cd5
Commit
6ff15cd5
authored
Feb 14, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unreachable returns
parent
c8f0b20b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
flvdec.c
libavformat/flvdec.c
+0
-4
nutenc.c
libavformat/nutenc.c
+1
-1
No files found.
libavformat/flvdec.c
View file @
6ff15cd5
...
...
@@ -125,8 +125,6 @@ static int flv_same_audio_codec(AVCodecContext *acodec, int flags)
default:
return
acodec
->
codec_tag
==
(
flv_codecid
>>
FLV_AUDIO_CODECID_OFFSET
);
}
return
0
;
}
static
void
flv_set_audio_codec
(
AVFormatContext
*
s
,
AVStream
*
astream
,
AVCodecContext
*
acodec
,
int
flv_codecid
)
{
...
...
@@ -197,8 +195,6 @@ static int flv_same_video_codec(AVCodecContext *vcodec, int flags)
default:
return
vcodec
->
codec_tag
==
flv_codecid
;
}
return
0
;
}
static
int
flv_set_video_codec
(
AVFormatContext
*
s
,
AVStream
*
vstream
,
int
flv_codecid
,
int
read
)
{
...
...
libavformat/nutenc.c
View file @
6ff15cd5
...
...
@@ -93,7 +93,7 @@ static int find_expected_header(AVCodecContext *c, int size, int key_frame,
header
|=
(
bitrate_index
&
1
)
<<
9
;
return
2
;
//FIXME actually put the needed ones in build_elision_headers()
return
3
;
//we guess that the private bit is not set
//
return 3; //we guess that the private bit is not set
//FIXME the above assumptions should be checked, if these turn out false too often something should be done
}
return
0
;
...
...
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