summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mpeg_hdr.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-26 03:31:31 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-27 14:26:48 +0200
commit49b80fe6b45dad5b04d3903987b287f957b94259 (patch)
tree7cf380b94c7750bb5d3fe60af3781d6efa3cee1c /libmpdemux/mpeg_hdr.c
parent298808cddc40b66dde9578ec8abb71094357c3ce (diff)
downloadmpv-49b80fe6b45dad5b04d3903987b287f957b94259.tar.bz2
mpv-49b80fe6b45dad5b04d3903987b287f957b94259.tar.xz
demux: take chapter/attachment name strings without 0-termination
Change the demuxer_add_attachment() and demuxer_add_chapter() functions to take a length argument for various name strings, so those strings do not need to be 0-terminated. This will make it easier to directly pass demuxed data without first making a copy just to add 0-termination. Also allocate the struct demuxer data structures for attachments and chapters with talloc.
Diffstat (limited to 'libmpdemux/mpeg_hdr.c')
0 files changed, 0 insertions, 0 deletions