summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_internal.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-09 01:04:15 +0000
committerMark Thompson <sw@jkqxz.net>2018-02-20 22:04:12 +0000
commit254e728d207c173a3714e6a01c9d68fcb3af8b73 (patch)
treeeb6f9435d36e00efe9cad436ae7834266122d0bf /libavcodec/cbs_internal.h
parent1d12a545ce828eaf4fb37295400008ea37635ab8 (diff)
cbs: Minor comment fixes / cosmetics
Diffstat (limited to 'libavcodec/cbs_internal.h')
-rw-r--r--libavcodec/cbs_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cbs_internal.h b/libavcodec/cbs_internal.h
index dddeae9d5b..1a1c22f068 100644
--- a/libavcodec/cbs_internal.h
+++ b/libavcodec/cbs_internal.h
@@ -32,6 +32,9 @@ typedef struct CodedBitstreamType {
// Split frag->data into coded bitstream units, creating the
// frag->units array. Fill data but not content on each unit.
+ // The header argument should be set if the fragment came from
+ // a header block, which may require different parsing for some
+ // codecs (e.g. the AVCC header in H.264).
int (*split_fragment)(CodedBitstreamContext *ctx,
CodedBitstreamFragment *frag,
int header);