Skip to content

Commit

Permalink
style: 去掉未使用的模块导入
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Oct 14, 2024
1 parent b1f903f commit c8ffa9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/avcodec/wasmcodec/VideoEncoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { videoFrame2AVFrame } from 'avutil/function/videoFrame2AVFrame'
import { createAVFrame, destroyAVFrame, unrefAVFrame } from 'avutil/util/avframe'
import { mapUint8Array } from 'cheap/std/memory'
import { AVCodecID, AVPacketSideDataType } from 'avutil/codec'
import { avQ2D, avRescaleQ } from 'avutil/util/rational'
import { avQ2D } from 'avutil/util/rational'
import AVBSFilter from 'avformat/bsf/AVBSFilter'
import Annexb2AvccFilter from 'avformat/bsf/h2645/Annexb2AvccFilter'
import support from 'common/util/support'
Expand All @@ -49,8 +49,7 @@ import { Data } from 'common/types/type'
import * as object from 'common/util/object'
import * as dict from 'avutil/util/avdict'
import * as is from 'common/util/is'
import { avMallocz, avRealloc } from 'avutil/util/mem'
import { AV_MILLI_TIME_BASE_Q } from 'avutil/constant'
import { avMallocz } from 'avutil/util/mem'

export type WasmVideoEncoderOptions = {
resource: WebAssemblyResource
Expand Down

0 comments on commit c8ffa9a

Please sign in to comment.