summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2021-12-11 16:27:28 +0100
committerMarton Balint <cus@passwd.hu>2022-01-03 22:54:12 +0100
commit76e062322c3527b76b9b180ff0caa52b7af4784b (patch)
tree36c39c89c70a33fa5435e02242baaa39bf7c17bd /libavformat/internal.h
parent4be85c9331ca7c3360dffbbd4ce5055e8c478d2e (diff)
avformat/movenc: factorize data shifting
And move data shift function from movenc to utils. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 2ba795d669..63235ce5cf 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -1019,4 +1019,11 @@ void ff_format_set_url(AVFormatContext *s, char *url);
void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
+/**
+ * Make shift_size amount of space at read_start by shifting data in the output
+ * at read_start until the current IO position. The underlying IO context must
+ * be seekable.
+ */
+int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size);
+
#endif /* AVFORMAT_INTERNAL_H */