mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-11 18:07:56 +02:00
flac_flush()
Originally committed as revision 2797 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0496a03413
commit
1e31d32c34
@ -752,6 +752,14 @@ static int flac_decode_close(AVCodecContext *avctx)
|
|||||||
return 0;
|
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 = {
|
AVCodec flac_decoder = {
|
||||||
"flac",
|
"flac",
|
||||||
CODEC_TYPE_AUDIO,
|
CODEC_TYPE_AUDIO,
|
||||||
@ -761,4 +769,5 @@ AVCodec flac_decoder = {
|
|||||||
NULL,
|
NULL,
|
||||||
flac_decode_close,
|
flac_decode_close,
|
||||||
flac_decode_frame,
|
flac_decode_frame,
|
||||||
|
.flush= flac_flush,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user