Skip to content

Commit

Permalink
Merge pull request #283 from phunkyfish/fix-timeshift-ffmpeg-sizet
Browse files Browse the repository at this point in the history
Fix timeshift ffmpeg sizet
  • Loading branch information
phunkyfish authored Mar 2, 2024
2 parents 471ce21 + 97ea397 commit 7f74630
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inputstream.ffmpegdirect/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="inputstream.ffmpegdirect"
version="21.3.3"
version="21.3.4"
name="Inputstream FFmpeg Direct"
provider-name="Ross Nicholson">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions inputstream.ffmpegdirect/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v21.3.4
- Fix timeshift mode

v21.3.3
- Patch to check for nullptr on surface for dxva2 on window

Expand Down
2 changes: 1 addition & 1 deletion src/stream/TimeshiftSegment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ int TimeshiftSegment::LoadPacket(std::shared_ptr<DEMUX_PACKET>& packet)
if (avPacket)
{
enum AVPacketSideDataType type;
int size;
size_t size;
for (int i = 0; i < packet->iSideDataElems; i++)
{
m_fileHandle.Read(&type, sizeof(type));
Expand Down

0 comments on commit 7f74630

Please sign in to comment.