Skip to content

Commit 3889d71

Browse files
committed
ICodec: update exception message in initCodecContext
1 parent fba1268 commit 3889d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/codec/ICodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void ICodec::initCodecContext( )
8383

8484
if( ( _codecContext = avcodec_alloc_context3( _codec ) ) == NULL )
8585
{
86-
throw std::runtime_error( "unable to create context for context" );
86+
throw std::runtime_error( "unable to allocate codec context and set its fields to default values" );
8787
}
8888

8989
// Set default codec parameters

0 commit comments

Comments
 (0)