Skip to content

Commit cb2d7c4

Browse files
author
Clement Champetier
committed
Fixed english spelling
1 parent 09bc326 commit cb2d7c4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/AvTranscoder/decoder/AudioDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ bool AudioDecoder::decodeNextFrame(Frame& frameBuffer)
9797
&got_frame, &data.getAVPacket());
9898
if(ret < 0)
9999
{
100-
throw std::runtime_error("An error occured during audio decoding: " + getDescriptionFromErrorCode(ret));
100+
throw std::runtime_error("An error occurred during audio decoding: " + getDescriptionFromErrorCode(ret));
101101
}
102102

103103
// if no frame could be decompressed

src/AvTranscoder/decoder/VideoDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ bool VideoDecoder::decodeNextFrame(Frame& frameBuffer)
9595
&got_frame, &data.getAVPacket());
9696
if(ret < 0)
9797
{
98-
throw std::runtime_error("An error occured during video decoding: " + getDescriptionFromErrorCode(ret));
98+
throw std::runtime_error("An error occurred during video decoding: " + getDescriptionFromErrorCode(ret));
9999
}
100100

101101
// if no frame could be decompressed

src/AvTranscoder/properties/VideoProperties.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ class AvExport VideoProperties : public StreamProperties
4242

4343
/**
4444
* @return The video bitrate in bits/s.
45-
* @warning If there is no such info available in the container, this data is estimate by decoding the first GOP.
45+
* @warning If there is no such info available in the container, this data is estimated by decoding the first GOP.
4646
*/
4747
size_t getBitRate() const;
4848
size_t getMaxBitRate() const;
4949
size_t getMinBitRate() const;
5050
/**
5151
* @note 0 if unknown.
52-
* @warning In case of a raw format, this data is estimate from the fps and the duration.
52+
* @warning In case of a raw format, this data is estimated from the fps and the duration.
5353
*/
5454
size_t getNbFrames() const;
5555
size_t getTicksPerFrame() const;
@@ -72,7 +72,7 @@ class AvExport VideoProperties : public StreamProperties
7272
/**
7373
* @brief Override method.
7474
* @return The stream duration in seconds, 0 if not available.
75-
* @warning In case of a raw format, this data is estimate from the file size.
75+
* @warning In case of a raw format, this data is estimated from the file size.
7676
*/
7777
float getDuration() const;
7878

0 commit comments

Comments
 (0)