mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Fix type and codetype fields in the MMF header for some phones.
This commit is contained in:
parent
d3640096aa
commit
17431f4a4e
2 changed files with 3 additions and 3 deletions
|
|
@ -76,8 +76,8 @@ static int mmf_write_header(AVFormatContext *s)
|
|||
avio_wb32(pb, 0);
|
||||
pos = ff_start_tag(pb, "CNTI");
|
||||
avio_w8(pb, 0); /* class */
|
||||
avio_w8(pb, 0); /* type */
|
||||
avio_w8(pb, 0); /* code type */
|
||||
avio_w8(pb, 1); /* type */
|
||||
avio_w8(pb, 1); /* code type */
|
||||
avio_w8(pb, 0); /* status */
|
||||
avio_w8(pb, 0); /* counts */
|
||||
avio_write(pb, "VN:libavcodec,", sizeof("VN:libavcodec,") -1); /* metadata ("ST:songtitle,VN:version,...") */
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
272b91d8fc31ed43b08246d182719751 *./tests/data/lavf/lavf.mmf
|
||||
1982e25aaa5307068c5e0f0fd54b193a *./tests/data/lavf/lavf.mmf
|
||||
22609 ./tests/data/lavf/lavf.mmf
|
||||
./tests/data/lavf/lavf.mmf CRC=0x03633476
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue