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
13de8a08
Commit
13de8a08
authored
Jan 24, 2009
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indentation
Originally committed as revision 16753 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5305f40b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
flacdec.c
libavcodec/flacdec.c
+14
-14
No files found.
libavcodec/flacdec.c
View file @
13de8a08
...
@@ -602,20 +602,20 @@ static int flac_decode_frame(AVCodecContext *avctx,
...
@@ -602,20 +602,20 @@ static int flac_decode_frame(AVCodecContext *avctx,
if
(
metadata_parse
(
s
))
if
(
metadata_parse
(
s
))
goto
end
;
goto
end
;
tmp
=
show_bits
(
&
s
->
gb
,
16
);
tmp
=
show_bits
(
&
s
->
gb
,
16
);
if
((
tmp
&
0xFFFE
)
!=
0xFFF8
){
if
((
tmp
&
0xFFFE
)
!=
0xFFF8
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"FRAME HEADER not here
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"FRAME HEADER not here
\n
"
);
while
(
get_bits_count
(
&
s
->
gb
)
/
8
+
2
<
buf_size
&&
(
show_bits
(
&
s
->
gb
,
16
)
&
0xFFFE
)
!=
0xFFF8
)
while
(
get_bits_count
(
&
s
->
gb
)
/
8
+
2
<
buf_size
&&
(
show_bits
(
&
s
->
gb
,
16
)
&
0xFFFE
)
!=
0xFFF8
)
skip_bits
(
&
s
->
gb
,
8
);
skip_bits
(
&
s
->
gb
,
8
);
goto
end
;
// we may not have enough bits left to decode a frame, so try next time
goto
end
;
// we may not have enough bits left to decode a frame, so try next time
}
}
skip_bits
(
&
s
->
gb
,
16
);
skip_bits
(
&
s
->
gb
,
16
);
if
(
decode_frame
(
s
,
alloc_data_size
)
<
0
){
if
(
decode_frame
(
s
,
alloc_data_size
)
<
0
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"decode_frame() failed
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"decode_frame() failed
\n
"
);
s
->
bitstream_size
=
0
;
s
->
bitstream_size
=
0
;
s
->
bitstream_index
=
0
;
s
->
bitstream_index
=
0
;
return
-
1
;
return
-
1
;
}
}
#define DECORRELATE(left, right)\
#define DECORRELATE(left, right)\
assert(s->channels == 2);\
assert(s->channels == 2);\
...
...
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