diff options
author | Pierre-Anthony Lemieux <pal@palemieux.com> | 2023-05-29 09:59:04 -0700 |
---|---|---|
committer | Pierre-Anthony Lemieux <pal@palemieux.com> | 2023-05-31 09:03:58 -0700 |
commit | 0f2f0dd5b415884792a29f7db15d364c730067cf (patch) | |
tree | 7247bbea4a896ee729886baaaa5c226857cbdf46 /libavformat/imf.h | |
parent | ba2c791627334ac70e5a5df480b80ee3ce61519d (diff) | |
download | ffmpeg-0f2f0dd5b415884792a29f7db15d364c730067cf.tar.gz |
avformat/imf: clean-up logging
* remove logging to NULL
* remove extraneous logging
Diffstat (limited to 'libavformat/imf.h')
-rw-r--r-- | libavformat/imf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/imf.h b/libavformat/imf.h index 70ed007312..ef124bf412 100644 --- a/libavformat/imf.h +++ b/libavformat/imf.h @@ -140,6 +140,7 @@ typedef struct FFIMFCPL { /** * Parse an IMF CompositionPlaylist element into the FFIMFCPL data structure. + * @param[in] log_ctx Logging context (points to an instance of AVClass). May be NULL. * @param[in] doc An XML document from which the CPL is read. * @param[out] cpl Pointer to a memory area (allocated by the client), where the * function writes a pointer to the newly constructed FFIMFCPL structure (or @@ -147,10 +148,11 @@ typedef struct FFIMFCPL { * the FFIMFCPL structure using ff_imf_cpl_free(). * @return A non-zero value in case of an error. */ -int ff_imf_parse_cpl_from_xml_dom(xmlDocPtr doc, FFIMFCPL **cpl); +int ff_imf_parse_cpl_from_xml_dom(void *log_ctx, xmlDocPtr doc, FFIMFCPL **cpl); /** * Parse an IMF Composition Playlist document into the FFIMFCPL data structure. + * @param[in] log_ctx Logging context (points to an instance of AVClass). May be NULL. * @param[in] in The context from which the CPL is read. * @param[out] cpl Pointer to a memory area (allocated by the client), where the * function writes a pointer to the newly constructed FFIMFCPL structure (or @@ -158,7 +160,7 @@ int ff_imf_parse_cpl_from_xml_dom(xmlDocPtr doc, FFIMFCPL **cpl); * the FFIMFCPL structure using ff_imf_cpl_free(). * @return A non-zero value in case of an error. */ -int ff_imf_parse_cpl(AVIOContext *in, FFIMFCPL **cpl); +int ff_imf_parse_cpl(void *log_ctx, AVIOContext *in, FFIMFCPL **cpl); /** * Allocates and initializes an FFIMFCPL data structure. |