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:27:47 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-05-17 21:27:47 +0000
commitfb01fe7bb3cc155b39ac4419b68c02639e97d916 (patch)
tree5adbf26c466ff3961afb33c71361be2c5bd6018f /src/lib
parent6b696eb1fcbce5971403ea5435be2756e933e280 (diff)
downloadusdx-fb01fe7bb3cc155b39ac4419b68c02639e97d916.tar.gz
usdx-fb01fe7bb3cc155b39ac4419b68c02639e97d916.tar.xz
usdx-fb01fe7bb3cc155b39ac4419b68c02639e97d916.zip
some more fixes.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2992 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffmpeg-0.9/avformat.pas48
1 files changed, 21 insertions, 27 deletions
diff --git a/src/lib/ffmpeg-0.9/avformat.pas b/src/lib/ffmpeg-0.9/avformat.pas
index 005f9031..0e03fbe1 100644
--- a/src/lib/ffmpeg-0.9/avformat.pas
+++ b/src/lib/ffmpeg-0.9/avformat.pas
@@ -222,31 +222,6 @@ function av_metadata_get(m: PAVDictionary; key: {const} PAnsiChar;
*)
function av_metadata_set2(var pm: PAVDictionary; key: {const} PAnsiChar; value: {const} PAnsiChar; flags: cint): cint;
cdecl; external av__format; deprecated;
-
-(**
- * This function is provided for compatibility reason and currently does nothing.
- *)
-procedure av_metadata_conv(ctx: PAVFormatContext; const d_conv: PAVMetadataConv;
- const s_conv: PAVMetadataConv);
- cdecl; external av__format; deprecated;
-
-(**
- * Copy metadata from one AVDictionary struct into another.
- * @param dst pointer to a pointer to a AVDictionary struct. If *dst is NULL,
- * this function will allocate a struct for you and put it in *dst
- * @param src pointer to source AVDictionary struct
- * @param flags flags to use when setting metadata in *dst
- * @note metadata is read using the AV_DICT_IGNORE_SUFFIX flag
- *)
-procedure av_metadata_copy(var dst: PAVDictionary; src: PAVDictionary; flags: cint);
- cdecl; external av__format; deprecated;
-
-(**
- * Free all the memory allocated for an AVDictionary struct.
- *)
-procedure av_metadata_free(var m: PAVDictionary);
- cdecl; external av__format; deprecated;
-
{$IFEND}
(* packet functions *)
@@ -1234,14 +1209,33 @@ type
next: PAVPacketList;
end;
+{$IF FF_API_OLD_METADATA2}
(**
* This function is provided for compatibility reason and currently does nothing.
*)
-procedure av_metadata_conv(ctx: PAVFormatContext; {const} d_conv: PAVMetadataConv;
- {const} s_conv: PAVMetadataConv);
+procedure av_metadata_conv(ctx: PAVFormatContext; const d_conv: PAVMetadataConv;
+ const s_conv: PAVMetadataConv);
cdecl; external av__format; deprecated;
(**
+ * Copy metadata from one AVDictionary struct into another.
+ * @param dst pointer to a pointer to a AVDictionary struct. If *dst is NULL,
+ * this function will allocate a struct for you and put it in *dst
+ * @param src pointer to source AVDictionary struct
+ * @param flags flags to use when setting metadata in *dst
+ * @note metadata is read using the AV_DICT_IGNORE_SUFFIX flag
+ *)
+procedure av_metadata_copy(var dst: PAVDictionary; src: PAVDictionary; flags: cint);
+ cdecl; external av__format; deprecated;
+
+(**
+ * Free all the memory allocated for an AVDictionary struct.
+ *)
+procedure av_metadata_free(var m: PAVDictionary);
+ cdecl; external av__format; deprecated;
+{$IFEND}
+
+(**
* If f is NULL, returns the first registered input format,
* if f is non-NULL, returns the next registered input format after f
* or NULL if f is the last one.