summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorVidar Madsen <vidarino@gmail.com>2012-03-21 22:11:25 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-03-21 22:19:23 +0100
commit17431f4a4e5c66a669f51dd7eb3d880d70e6dc4c (patch)
tree937b6041ed6a45a7a2b9e5b7b266c7d1e2c3d613 /libavformat
parentd3640096aa03bc067daf6828d62358f2d26cd916 (diff)
Fix type and codetype fields in the MMF header for some phones.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mmf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index d1e6f81e98..6240e49bee 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -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,...") */