]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
avformat/ipmovie: Check OPCODE_CREATE_TIMER size
[ffmpeg] / libavformat / internal.h
index 8e53cc54a122307a6aafcd671d502d0cab8ebb2b..edc6a11685c4b18477a9aa3c56d0ffb23e6c240f 100644 (file)
@@ -371,4 +371,14 @@ int ff_generate_avci_extradata(AVStream *st);
  */
 int ff_alloc_extradata(AVCodecContext *avctx, int size);
 
+/**
+ * add frame for rfps calculation.
+ *
+ * @param dts timestamp of the i-th frame
+ * @return 0 if OK, AVERROR_xxx on error
+ */
+int ff_rfps_add_frame(AVFormatContext *ic, AVStream *st, int64_t dts);
+
+void ff_rfps_calculate(AVFormatContext *ic);
+
 #endif /* AVFORMAT_INTERNAL_H */