History

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

Michael Niedermayer committed 13 years ago

Commit 85de84c2 parents 23439cf 7cbc4cb2 files · +3 −2Browse files

Unified · Split

2 files
  1. libavcodec/jpeg2000dec.c +2 −2
  2. libavformat/mmf.c +1 −0
libavcodec/jpeg2000dec.c+2−2
@@ -1197,8 +1197,8 @@ static int jpeg2000_read_main_headers(Jpeg2000DecoderContext *s) · 1196 unmodified lines
11971197 break;
11981198 default:
11991199 av_log(s->avctx, AV_LOG_ERROR,
1200− "unsupported marker 0x%.4X at pos 0x%lX\n",
1201− marker, (uint64_t)(s->buf - s->buf_start - 4));
1200+ "unsupported marker 0x%.4X at pos 0x%tX\n",
1201+ marker, s->buf - s->buf_start - 4);
12021202 s->buf += len - 2;
12031203 break;
12041204 }
libavformat/mmf.c+1−0
@@ -98,6 +98,7 @@ static int mmf_write_header(AVFormatContext *s) · 97 unmodified lines
9898 avio_w8(pb, 0); /* status */
9999 avio_w8(pb, 0); /* counts */
100100 end_tag_be(pb, pos);
101+
101102 pos = ff_start_tag(pb, "OPDA");
102103 avio_write(pb, version, strlen(version)); /* metadata ("ST:songtitle,VN:version,...") */
103104 end_tag_be(pb, pos);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t