Commit e95d2185 authored by conrad's avatar conrad

Const correctness


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bd0c1ce4
...@@ -68,14 +68,14 @@ static void put_ebml_uint(ByteIOContext *pb, unsigned int elementid, uint64_t va ...@@ -68,14 +68,14 @@ static void put_ebml_uint(ByteIOContext *pb, unsigned int elementid, uint64_t va
//static void put_ebml_sint(ByteIOContext *pb, unsigned int elementid, int64_t val) //static void put_ebml_sint(ByteIOContext *pb, unsigned int elementid, int64_t val)
static void put_ebml_binary(ByteIOContext *pb, unsigned int elementid, static void put_ebml_binary(ByteIOContext *pb, unsigned int elementid,
uint8_t *buf, int size) const uint8_t *buf, int size)
{ {
put_ebml_id(pb, elementid); put_ebml_id(pb, elementid);
put_ebml_size(pb, size, 0); put_ebml_size(pb, size, 0);
put_buffer(pb, buf, size); put_buffer(pb, buf, size);
} }
static void put_ebml_string(ByteIOContext *pb, unsigned int elementid, char *str) static void put_ebml_string(ByteIOContext *pb, unsigned int elementid, const char *str)
{ {
put_ebml_binary(pb, elementid, str, strlen(str)); put_ebml_binary(pb, elementid, str, strlen(str));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment