OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e32dfda
)
shorten: remove the flush function.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 17 Sep 2011 02:21:47 +0000
(22:21 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 13 Oct 2011 20:31:16 +0000
(16:31 -0400)
The shorten decoder does not support seeking.
libavcodec/shorten.c
patch
|
blob
|
history
diff --git
a/libavcodec/shorten.c
b/libavcodec/shorten.c
index
22c5c0a
..
dd1bef8
100644
(file)
--- 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"),
};