[FFmpeg-cvslog] shorten: remove the flush function.
Justin Ruggles
git at videolan.org
Fri Oct 14 03:58:31 CEST 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Fri Sep 16 22:21:47 2011 -0400| [617a51f9b7a5be6b660bfd45bcd84f8ac3510c4e] | committer: Justin Ruggles
shorten: remove the flush function.
The shorten decoder does not support seeking.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=617a51f9b7a5be6b660bfd45bcd84f8ac3510c4e
---
libavcodec/shorten.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index 22c5c0a..dd1bef8 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"),
};
More information about the ffmpeg-cvslog
mailing list