aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-05-17 21:48:55 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-05-17 21:48:55 +0000
commitc4bbc87f2f277dabe2bb98b7db1b4bc2a2bf13b6 (patch)
treea8f054aaf90552819cc0d2a64672cd09831d8126 /src/lib
parent6aa2f991011f9dcda5cad29e0a0c7a850eaee185 (diff)
downloadusdx-c4bbc87f2f277dabe2bb98b7db1b4bc2a2bf13b6.tar.gz
usdx-c4bbc87f2f277dabe2bb98b7db1b4bc2a2bf13b6.tar.xz
usdx-c4bbc87f2f277dabe2bb98b7db1b4bc2a2bf13b6.zip
one more fix on avformat.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2995 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib')
-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}
(**