lavc/j2kenc: Make jp2 output compatible with Kakadu.

Fixes ticket #4689.
This commit is contained in:
Carl Eugen Hoyos 2015-06-30 14:42:31 +02:00 • committed by Michael Niedermayer
parent e97ec65630
commit 0f5b996531
9 changed files with 17 additions and 16 deletions

View file

@ -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;