diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-06-30 15:42:31 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-30 16:00:38 +0300 |
commit | 0f5b99653120ca6d75cb668ff6cc5685dbda345c (patch) | |
tree | 3fe1ab1f15c8c6df572b4f5fb2817a025eaea6eb /libavcodec/j2kenc.c | |
parent | e97ec65630d10d8eeeacdd2399bf68ca34eacab5 (diff) |
lavc/j2kenc: Make jp2 output compatible with Kakadu.
Fixes ticket #4689.
Diffstat (limited to 'libavcodec/j2kenc.c')
-rw-r--r-- | libavcodec/j2kenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index acfa5a0f74..6d7b3f73a4 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -982,6 +982,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, bytestream_put_buffer(&s->buf, "ftyp", 4); bytestream_put_buffer(&s->buf, "jp2\040\040", 4); bytestream_put_be32(&s->buf, 0); + bytestream_put_buffer(&s->buf, "jp2\040", 4); update_size(chunkstart, s->buf); jp2hstart = s->buf; |