mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
Merge commit '7cbc4cb4424430586ce2d5c0dba81174c6d1db01'
* commit '7cbc4cb4424430586ce2d5c0dba81174c6d1db01': fate: update the mmf reference mmf: Write metadata into an Optional Data chunk jpeg2000dec: Use correct printf length modifier for pointer differences Conflicts: libavformat/mmf.c tests/ref/lavf/mmf Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
85de84c3e0
@ -1197,8 +1197,8 @@ static int jpeg2000_read_main_headers(Jpeg2000DecoderContext *s)
|
||||
break;
|
||||
default:
|
||||
av_log(s->avctx, AV_LOG_ERROR,
|
||||
"unsupported marker 0x%.4X at pos 0x%lX\n",
|
||||
marker, (uint64_t)(s->buf - s->buf_start - 4));
|
||||
"unsupported marker 0x%.4X at pos 0x%tX\n",
|
||||
marker, s->buf - s->buf_start - 4);
|
||||
s->buf += len - 2;
|
||||
break;
|
||||
}
|
||||
|
@ -98,6 +98,7 @@ static int mmf_write_header(AVFormatContext *s)
|
||||
avio_w8(pb, 0); /* status */
|
||||
avio_w8(pb, 0); /* counts */
|
||||
end_tag_be(pb, pos);
|
||||
|
||||
pos = ff_start_tag(pb, "OPDA");
|
||||
avio_write(pb, version, strlen(version)); /* metadata ("ST:songtitle,VN:version,...") */
|
||||
end_tag_be(pb, pos);
|
||||
|
Loading…
Reference in New Issue
Block a user