summaryrefslogtreecommitdiff
path: root/media/libaom/src/common/video_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/common/video_writer.h')
-rw-r--r--media/libaom/src/common/video_writer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libaom/src/common/video_writer.h b/media/libaom/src/common/video_writer.h
index 3e2b6554b..8712d47a5 100644
--- a/media/libaom/src/common/video_writer.h
+++ b/media/libaom/src/common/video_writer.h
@@ -14,7 +14,7 @@
#include "common/video_common.h"
-typedef enum { kContainerIVF } AvxContainer;
+enum { kContainerIVF } UENUM1BYTE(AvxContainer);
struct AvxVideoWriterStruct;
typedef struct AvxVideoWriterStruct AvxVideoWriter;
@@ -37,6 +37,8 @@ void aom_video_writer_close(AvxVideoWriter *writer);
// Writes frame bytes to the file.
int aom_video_writer_write_frame(AvxVideoWriter *writer, const uint8_t *buffer,
size_t size, int64_t pts);
+// Set fourcc.
+void aom_video_writer_set_fourcc(AvxVideoWriter *writer, uint32_t fourcc);
#ifdef __cplusplus
} // extern "C"