Skip to content

Commit fc98187

Browse files
author
Clement Champetier
committed
ICodec: clean
Use preloadCodecsAndFormats.
1 parent 7c4a9d0 commit fc98187

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/AvTranscoder/codec/ICodec.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ ICodec::ICodec( const ECodecType type, AVCodecContext& avCodecContext )
3838
, _isCodecContextAllocated( false )
3939
, _type( type )
4040
{
41-
avcodec_register_all(); // TODO: call only once
42-
4341
setCodec( type, _avCodecContext->codec_id );
4442
}
4543

0 commit comments

Comments
 (0)