File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ bool AudioDecoder::decodeNextFrame(Frame& frameBuffer)
97
97
&got_frame, &data.getAVPacket ());
98
98
if (ret < 0 )
99
99
{
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));
101
101
}
102
102
103
103
// if no frame could be decompressed
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ bool VideoDecoder::decodeNextFrame(Frame& frameBuffer)
95
95
&got_frame, &data.getAVPacket ());
96
96
if (ret < 0 )
97
97
{
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));
99
99
}
100
100
101
101
// if no frame could be decompressed
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ class AvExport VideoProperties : public StreamProperties
42
42
43
43
/* *
44
44
* @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.
46
46
*/
47
47
size_t getBitRate () const ;
48
48
size_t getMaxBitRate () const ;
49
49
size_t getMinBitRate () const ;
50
50
/* *
51
51
* @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.
53
53
*/
54
54
size_t getNbFrames () const ;
55
55
size_t getTicksPerFrame () const ;
@@ -72,7 +72,7 @@ class AvExport VideoProperties : public StreamProperties
72
72
/* *
73
73
* @brief Override method.
74
74
* @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.
76
76
*/
77
77
float getDuration () const ;
78
78
You can’t perform that action at this time.
0 commit comments