Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84fc4bf

Browse files
author
Clement Champetier
committed
VideoProperties: add const to local variables of getNbFrames
1 parent7f1077f commit84fc4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/AvTranscoder/properties/VideoProperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ size_t VideoProperties::getNbFrames() const
374374
if(!_formatContext)
375375
throwstd::runtime_error("unknown format context");
376376

377-
size_t nbFrames = _formatContext->streams[_streamIndex]->nb_frames;
377+
constsize_t nbFrames = _formatContext->streams[_streamIndex]->nb_frames;
378378
if(nbFrames)
379379
return nbFrames;
380380
LOG_WARN("The number of frames of the stream '" << _streamIndex <<"' of file '" << _formatContext->filename

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp