diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index ba39d41..82ec891 100644
|
a
|
b
|
static av_cold int imc_decode_close(AVCodecContext * avctx) |
| 979 | 979 | return 0; |
| 980 | 980 | } |
| 981 | 981 | |
| | 982 | static av_cold void flush(AVCodecContext *avctx) |
| | 983 | { |
| | 984 | IMCContext *q = avctx->priv_data; |
| | 985 | |
| | 986 | q->out_samples = 0; |
| | 987 | } |
| | 988 | |
| 982 | 989 | #if CONFIG_IMC_DECODER |
| 983 | 990 | AVCodec ff_imc_decoder = { |
| 984 | 991 | .name = "imc", |
| … |
… |
AVCodec ff_imc_decoder = { |
| 988 | 995 | .init = imc_decode_init, |
| 989 | 996 | .close = imc_decode_close, |
| 990 | 997 | .decode = imc_decode_frame, |
| | 998 | .flush = flush, |
| 991 | 999 | .capabilities = CODEC_CAP_DR1, |
| 992 | 1000 | .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"), |
| 993 | 1001 | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
| … |
… |
AVCodec ff_iac_decoder = { |
| 1003 | 1011 | .init = imc_decode_init, |
| 1004 | 1012 | .close = imc_decode_close, |
| 1005 | 1013 | .decode = imc_decode_frame, |
| | 1014 | .flush = flush, |
| 1006 | 1015 | .capabilities = CODEC_CAP_DR1, |
| 1007 | 1016 | .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"), |
| 1008 | 1017 | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |