MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / ~OggTheoraDecoder

Method ~OggTheoraDecoder

Engine/source/core/ogg/oggTheoraDecoder.cpp:115–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113//-----------------------------------------------------------------------------
114
115OggTheoraDecoder::~OggTheoraDecoder()
116{
117 // Free packets on the freelist.
118
119 OggTheoraFrame* packet;
120 while( mFreePackets.tryPopFront( packet ) )
121 destructSingle( packet );
122
123 // Clean up libtheora structures.
124
125 if( mTheoraDecoder )
126 th_decode_free( mTheoraDecoder );
127 if( mTheoraSetup )
128 th_setup_free( mTheoraSetup );
129
130 th_comment_clear( &mTheoraComment );
131 th_info_clear( &mTheoraInfo );
132}
133
134//-----------------------------------------------------------------------------
135

Callers

nothing calls this directly

Calls 6

th_decode_freeFunction · 0.85
th_setup_freeFunction · 0.85
th_comment_clearFunction · 0.85
th_info_clearFunction · 0.85
destructSingleFunction · 0.50
tryPopFrontMethod · 0.45

Tested by

no test coverage detected