Commit 1c675df5 authored by michael's avatar michael

flac_flush()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 32ade575
......@@ -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,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment