Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-17 21:13:05 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-17 21:39:03 +0300
commit4624656797b667eb6405186682eb04e74dfd90fd (patch)
tree3de85df7cb083bcbf0a89bc56ed52ad20a5f6f12 /libavcodec/jpeg2000.h
parente6190045b3a119cc27efe9fbd91eb7881fb6f823 (diff)
avcodec/j2kenc: Properly flush the end of the truncated AC stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jpeg2000.h')
-rw-r--r--libavcodec/jpeg2000.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h
index 1054fe6333..f963cbeb5d 100644
--- a/libavcodec/jpeg2000.h
+++ b/libavcodec/jpeg2000.h
@@ -159,6 +159,8 @@ typedef struct Jpeg2000QuantStyle {
typedef struct Jpeg2000Pass {
uint16_t rate;
int64_t disto;
+ uint8_t flushed[4];
+ int flushed_len;
} Jpeg2000Pass;
typedef struct Jpeg2000Cblk {