diff --git a/codec/interfaces/include/codec_type.h b/codec/interfaces/include/codec_type.h index 7f11d162ae42107df7eefb26a01670346e9fdea3..9ae7a9e4961fca6a6d7f4b4f49f6ee40ff114dfe 100755 --- a/codec/interfaces/include/codec_type.h +++ b/codec/interfaces/include/codec_type.h @@ -226,12 +226,12 @@ typedef enum { } StreamFlagType; /** - * @brief Defines the buffer handle type. The virtual address of a handle maps to its physical address. + * @brief Defines the codec buffer handle type. The virtual address of a handle maps to its physical address. */ -typedef struct BufferHandle { +typedef struct CodecBufferHandle { uint8_t *virAddr; /**< Virtual address */ uintptr_t handle; /**< Physical address */ -} BufferHandle; +} CodecBufferHandle; /** * @brief Enumerates buffer types. @@ -253,7 +253,7 @@ typedef struct { union { uint8_t *addr; /**< Virtual address */ int32_t fd; /**< File descriptor */ - BufferHandle handle; /**< Data handle. For details, see {@link BufferHandle} */ + CodecBufferHandle handle; /**< Data handle. For details, see {@link CodecBufferHandle} */ }; uint32_t offset; /**< Buffer offset */ uint32_t length; /**< Length of valid data */ diff --git a/format/interfaces/include/format_interface.h b/format/interfaces/include/format_interface.h index c38d6395c24704241c5d75a60a5298fb20cf5f35..a0d8892092707c8f1a73ed9e98dd431545eec12d 100755 --- a/format/interfaces/include/format_interface.h +++ b/format/interfaces/include/format_interface.h @@ -331,7 +331,7 @@ int32_t FormatDemuxerStop(void *handle); * @since 1.0 * @version 1.0 */ -int32_t FormatDemuxerDestory(void *handle); +int32_t FormatDemuxerDestroy(void *handle); /** * @brief Creates a muxer and returns its context handle. @@ -353,7 +353,7 @@ int32_t FormatMuxerCreate(void **handle, FormatOutputConfig *outputConfig); * @since 1.0 * @version 1.0 */ -int32_t FormatMuxerDestory(const void *handle); +int32_t FormatMuxerDestroy(const void *handle); /** * @brief Adds a media track source for the muxer. For details about track sources, see {@link TrackSource}.