]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/internal.h
avformat/matroskaenc: write a CRC32 element on Cues
[ffmpeg] / libavutil / internal.h
index 61784b5128fe3c1e0ad5e6916d3914e48a87f916..e995af97e47e33347e445315c60e0aa445337d75 100644 (file)
@@ -330,6 +330,16 @@ static av_always_inline av_const int avpriv_mirror(int x, int w)
 
 void ff_check_pixfmt_descriptors(void);
 
+/**
+ * Set a dictionary value to an ISO-8601 compliant timestamp string.
+ *
+ * @param s AVFormatContext
+ * @param key metadata key
+ * @param timestamp unix timestamp in microseconds
+ * @return <0 on error
+ */
+int avpriv_dict_set_timestamp(AVDictionary **dict, const char *key, int64_t timestamp);
+
 extern const uint8_t ff_reverse[256];
 
 #endif /* AVUTIL_INTERNAL_H */