aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg-0.9/avformat.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ffmpeg-0.9/avformat.pas16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/lib/ffmpeg-0.9/avformat.pas b/src/lib/ffmpeg-0.9/avformat.pas
index c4ca59b4..d8f7a3c0 100644
--- a/src/lib/ffmpeg-0.9/avformat.pas
+++ b/src/lib/ffmpeg-0.9/avformat.pas
@@ -1698,16 +1698,30 @@ function av_read_pause(s: PAVFormatContext): cint;
procedure av_close_input_stream(s: PAVFormatContext);
cdecl; external av__format;
+{$IFDEF FF_API_CLOSE_INPUT_FILE}
(**
+ * @deprecated use avformat_close_input()
* Close a media file (but not its codecs).
*
* @param s media file handle
*)
procedure av_close_input_file(s: PAVFormatContext);
+ cdecl; external av__format; deprecated;
+{$ENDIF}
+
+(**
+ * Close an opened input AVFormatContext. Free it and all its contents
+ * and set *s to NULL.
+ *)
+procedure avformat_close_input(s: PPAVFormatContext);
cdecl; external av__format;
+
(**
- * @}
+ * Free an AVFormatContext and all its streams.
+ * @param s context to free
*)
+procedure avformat_free_context(s: PAVFormatContext);
+ cdecl; external av__format;
{$IFDEF FF_API_NEW_STREAM}
(**