From: Justin Ruggles Date: Sat, 17 Sep 2011 02:21:47 +0000 (-0400) Subject: shorten: remove the flush function. X-Git-Tag: android-x86-4.4-r1~8529^2~5123 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=617a51f9b7a5be6b660bfd45bcd84f8ac3510c4e;p=android-x86%2Fexternal-ffmpeg.git shorten: remove the flush function. The shorten decoder does not support seeking. --- diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 22c5c0a152..dd1bef8a18 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -534,13 +534,6 @@ static av_cold int shorten_decode_close(AVCodecContext *avctx) return 0; } -static void shorten_flush(AVCodecContext *avctx){ - ShortenContext *s = avctx->priv_data; - - s->bitstream_size= - s->bitstream_index= 0; -} - AVCodec ff_shorten_decoder = { .name = "shorten", .type = AVMEDIA_TYPE_AUDIO, @@ -549,6 +542,5 @@ AVCodec ff_shorten_decoder = { .init = shorten_decode_init, .close = shorten_decode_close, .decode = shorten_decode_frame, - .flush= shorten_flush, .long_name= NULL_IF_CONFIG_SMALL("Shorten"), };