Skip to content

Commit

Permalink
Update index version
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed Mar 6, 2024
1 parent 8e022ed commit 30ba361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion common/lwindex.c
Original file line number Diff line number Diff line change
Expand Up @@ -2097,14 +2097,15 @@ static int create_index
}
/*
# Structure of Libav reader index file
<LibavReaderIndexFile=16>
<LibavReaderIndexFile=17>
<InputFilePath>foobar.omo</InputFilePath>
<FileSize=1048576>
<FileLastModificationTime=000>
<FileHash=0x0123456789abcdef>
<LibavReaderIndex=0x00000208,0,marumoska>
<ActiveVideoStreamIndex>+0000000000</ActiveVideoStreamIndex>
<ActiveAudioStreamIndex>-0000000001</ActiveAudioStreamIndex>
<DefaultAudioStreamIndex>-0000000001</DefaultAudioStreamIndex>
<StreamInfo=0,0>
Codec=2,TimeBase=1001/24000,Width=1920,Height=1080,Format=yuv420p,ColorSpace=5
</StreamInfo>
Expand Down
4 changes: 2 additions & 2 deletions common/lwindex.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@

/* lwindex version
* Major.Minor.Micro.Build */
#define LWINDEX_VERSION ((0 << 24) | (0 << 16) | (2 << 8) | 0)
#define LWINDEX_VERSION ((0 << 24) | (0 << 16) | (3 << 8) | 0)

/* index file version
* This version is bumped when its structure changed so that the lwindex invokes
* reindexing opened file immediately. */
#define LWINDEX_INDEX_FILE_VERSION 16
#define LWINDEX_INDEX_FILE_VERSION 17

typedef struct
{
Expand Down

0 comments on commit 30ba361

Please sign in to comment.