Skip to content

Commit 7843445

Browse files
committed
fix docs
1 parent 0cced03 commit 7843445

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: FFmpeg.NET/AV.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static AVLogLevel LogLevel
2424
/// Creates a <see cref="Dictionary{TKey, TValue}"/> from an <see cref="AVDictionary"/>* pointer.
2525
/// </summary>
2626
/// <param name="dictionary">The AV dictionary pointer.</param>
27-
/// <returns>An emty dictionary if the pointer is <see langword="null" />. </returns>
27+
/// <returns>An empty dictionary if the pointer is <see langword="null" />. </returns>
2828
public static unsafe Dictionary<string, string> ToDictionary(AVDictionary* dictionary)
2929
{
3030
var result = new Dictionary<string, string>();
@@ -79,7 +79,7 @@ public static unsafe Dictionary<string, string> ToDictionary(AVDictionary* dicti
7979
return null;
8080
}
8181

82-
// use decimal.Divide to avoid precision loss
82+
// use decimal.Divide to avoid precision loss
8383
// ts / time_base will get fractional seconds, so * by TicksPerSecond to get ticks
8484
return new TimeSpan((long)(decimal.Divide(ts, time_base) * TimeSpan.TicksPerSecond));
8585
}

Diff for: FFmpeg.NET/AVIOReadDelegateContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public AVIOReadDelegateContext(int bufferSize)
2727
throw new AVIOAllocationException(nameof(ffmpeg.av_malloc), message: null);
2828

2929
// prevent the GC from colleting the function pointer
30-
// TODO: it should be unecessary however keep the reference for now
30+
// TODO: it should be unnecessary however keep the reference for now
3131
read_packet = new avio_alloc_context_read_packet(ReadUnsafe);
3232
seek = new avio_alloc_context_seek(SeekUnsafe);
3333

Diff for: FFmpeg.NET/AVIOReadStreamContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public AVIOReadStreamContext(System.IO.Stream stream!!, int bufferSize)
4242
throw new AVIOAllocationException(nameof(ffmpeg.av_malloc), message: null);
4343

4444
// prevent the GC from colleting the function pointer
45-
// TODO: it should be unecessary however keep the reference for now
45+
// TODO: it should be unnecessary however keep the reference for now
4646
read_packet = new avio_alloc_context_read_packet(ReadUnsafe);
4747
seek = new avio_alloc_context_seek(SeekUnsafe);
4848

Diff for: FFmpeg.NET/FFProbe.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static ProbeResult Uri(Uri uri!!)
6161
}
6262

6363
/// <summary>
64-
/// Probe the specified inpui url.
64+
/// Probe the specified input url.
6565
/// </summary>
6666
/// <param name="url">The input url.</param>
6767
/// <returns>The probed result data.</returns>

0 commit comments

Comments
 (0)