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
1e31d32c
Commit
1e31d32c
authored
Feb 18, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flac_flush()
Originally committed as revision 2797 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0496a034
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
flac.c
libavcodec/flac.c
+9
-0
No files found.
libavcodec/flac.c
View file @
1e31d32c
...
...
@@ -752,6 +752,14 @@ static int flac_decode_close(AVCodecContext *avctx)
return
0
;
}
static
void
flac_flush
(
AVCodecContext
*
avctx
){
int
i
;
FLACContext
*
s
=
avctx
->
priv_data
;
s
->
bitstream_size
=
s
->
bitstream_index
=
0
;
}
AVCodec
flac_decoder
=
{
"flac"
,
CODEC_TYPE_AUDIO
,
...
...
@@ -761,4 +769,5 @@ AVCodec flac_decoder = {
NULL
,
flac_decode_close
,
flac_decode_frame
,
.
flush
=
flac_flush
,
};
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