aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-02-06 10:05:17 -0300
committerJames Almer <jamrial@gmail.com>2024-02-20 11:24:19 -0300
commit9ba327e70fb60c26f2c55c85cfee7fbcbb7ef61e (patch)
treeb8dfd5fd7e1e517ca3e68536e6fcc0b411e63bfd /libavformat/isom.h
parentce7b519ab7df16e02894fe6d0de3d2dd758aee02 (diff)
downloadffmpeg-9ba327e70fb60c26f2c55c85cfee7fbcbb7ef61e.tar.gz
avformat/mov: make MOVStreamContext refcounted
This will be useful in the next commit. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index a4cca4c798..eee94d0449 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -166,6 +166,7 @@ typedef struct MOVIndexRange {
typedef struct MOVStreamContext {
AVIOContext *pb;
+ int refcount;
int pb_is_copied;
int ffindex; ///< AVStream index
int next_chunk;