Revision f28f1464
libavcodec/wmadec.c | ||
---|---|---|
920 | 920 |
return -1; |
921 | 921 |
} |
922 | 922 |
|
923 |
static av_cold void flush(AVCodecContext *avctx) |
|
924 |
{ |
|
925 |
WMACodecContext *s = avctx->priv_data; |
|
926 |
|
|
927 |
s->last_bitoffset= |
|
928 |
s->last_superframe_len= 0; |
|
929 |
} |
|
930 |
|
|
923 | 931 |
AVCodec wmav1_decoder = |
924 | 932 |
{ |
925 | 933 |
"wmav1", |
... | ... | |
930 | 938 |
NULL, |
931 | 939 |
ff_wma_end, |
932 | 940 |
wma_decode_superframe, |
941 |
.flush=flush, |
|
933 | 942 |
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), |
934 | 943 |
}; |
935 | 944 |
|
... | ... | |
943 | 952 |
NULL, |
944 | 953 |
ff_wma_end, |
945 | 954 |
wma_decode_superframe, |
955 |
.flush=flush, |
|
946 | 956 |
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"), |
947 | 957 |
}; |
Also available in: Unified diff