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
e8b03952
Commit
e8b03952
authored
Mar 22, 2009
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flacdec: cosmetics: white space
Originally committed as revision 18167 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fbc4d9c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
flacdec.c
libavcodec/flacdec.c
+3
-3
No files found.
libavcodec/flacdec.c
View file @
e8b03952
...
@@ -566,7 +566,7 @@ static int decode_frame(FLACContext *s)
...
@@ -566,7 +566,7 @@ static int decode_frame(FLACContext *s)
"is not supported
\n
"
);
"is not supported
\n
"
);
return
-
1
;
return
-
1
;
}
}
s
->
ch_mode
=
ch_mode
;
s
->
ch_mode
=
ch_mode
;
if
(
bps
&&
bps
!=
s
->
bps
)
{
if
(
bps
&&
bps
!=
s
->
bps
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"switching bps mid-stream is not "
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"switching bps mid-stream is not "
...
@@ -588,7 +588,7 @@ static int decode_frame(FLACContext *s)
...
@@ -588,7 +588,7 @@ static int decode_frame(FLACContext *s)
s
->
max_blocksize
);
s
->
max_blocksize
);
return
-
1
;
return
-
1
;
}
}
s
->
blocksize
=
blocksize
;
s
->
blocksize
=
blocksize
;
if
(
samplerate
==
0
)
{
if
(
samplerate
==
0
)
{
samplerate
=
s
->
samplerate
;
samplerate
=
s
->
samplerate
;
...
@@ -596,7 +596,7 @@ static int decode_frame(FLACContext *s)
...
@@ -596,7 +596,7 @@ static int decode_frame(FLACContext *s)
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"sample rate changed from %d to %d
\n
"
,
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"sample rate changed from %d to %d
\n
"
,
s
->
samplerate
,
samplerate
);
s
->
samplerate
,
samplerate
);
}
}
s
->
samplerate
=
s
->
avctx
->
sample_rate
=
samplerate
;
s
->
samplerate
=
s
->
avctx
->
sample_rate
=
samplerate
;
// dump_headers(s->avctx, (FLACStreaminfo *)s);
// dump_headers(s->avctx, (FLACStreaminfo *)s);
...
...
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