X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Finternal.h;h=e995af97e47e33347e445315c60e0aa445337d75;hb=79248795d4af6ef4782c528e872dfcc9bbd46d68;hp=61784b5128fe3c1e0ad5e6916d3914e48a87f916;hpb=bca30ed2b67f095fd31e07319a622ac30ad22978;p=ffmpeg diff --git a/libavutil/internal.h b/libavutil/internal.h index 61784b5128f..e995af97e47 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -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 */