lavc/j2kenc: Make jp2 output compatible with Kakadu.
Fixes ticket #4689.
This commit is contained in:
parent
e97ec65630
commit
0f5b996531
9 changed files with 17 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue