diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-28 01:02:28 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-04 01:14:53 -0500 |
commit | b0350c1c30908dbe7901c4eb07663bb58e575902 (patch) | |
tree | efd467172e0a0c4355b6f47536113c72120dbe7b /libavcodec/ra144.h | |
parent | 29e2c8531096a5fb67079551564b4ab3f9acd8a6 (diff) | |
download | ffmpeg-b0350c1c30908dbe7901c4eb07663bb58e575902.tar.gz |
ra144enc: fix end-of-stream handling
Use CODEC_CAP_DELAY and CODEC_CAP_SMALL_LAST_FRAME to properly pad and flush
the encoder at the end of encoding. This is needed in order to have all input
samples decoded.
Diffstat (limited to 'libavcodec/ra144.h')
-rw-r--r-- | libavcodec/ra144.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ra144.h b/libavcodec/ra144.h index f6475d45ff..189c73a716 100644 --- a/libavcodec/ra144.h +++ b/libavcodec/ra144.h @@ -36,6 +36,7 @@ typedef struct { AVCodecContext *avctx; AVFrame frame; LPCContext lpc_ctx; + int last_frame; unsigned int old_energy; ///< previous frame energy |