Skip to content

Commit 6957a1c

Browse files
7.1 release
1 parent 9dcac41 commit 6957a1c

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,16 @@ jobs:
162162
fail-fast: false
163163
matrix:
164164
target: [win32,win64,winarm64]
165-
variant: [gpl,gpl 7.0,gpl-shared,gpl-shared 7.0]
165+
variant: [gpl,gpl 7.1,gpl-shared,gpl-shared 7.1]
166166
include:
167167
- target: linux64
168168
variant: gpl
169169
- target: linux64
170-
variant: gpl 7.0
170+
variant: gpl 7.1
171171
- target: linuxarm64
172172
variant: gpl
173173
- target: linuxarm64
174-
variant: gpl 7.0
174+
variant: gpl 7.1
175175
steps:
176176
- name: Free Disk-Space
177177
run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h
@@ -236,16 +236,16 @@ jobs:
236236
fail-fast: false
237237
matrix:
238238
target: [win32,win64,winarm64]
239-
variant: [gpl,gpl 7.0,gpl-shared,gpl-shared 7.0]
239+
variant: [gpl,gpl 7.1,gpl-shared,gpl-shared 7.1]
240240
include:
241241
- target: linux64
242242
variant: gpl
243243
- target: linux64
244-
variant: gpl 7.0
244+
variant: gpl 7.1
245245
- target: linuxarm64
246246
variant: gpl
247247
- target: linuxarm64
248-
variant: gpl 7.0
248+
variant: gpl 7.1
249249
steps:
250250
- name: Free Disk-Space
251251
run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h

.github/workflows/pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
target: [win32,win64,winarm64]
21-
variant: [gpl-shared,gpl-shared 7.0]
21+
variant: [gpl-shared,gpl-shared 7.1]
2222
quickbuild: [1]
2323
include:
2424
- target: linux64
2525
variant: gpl
2626
quickbuild: ''
2727
- target: linux64
28-
variant: gpl 7.0
28+
variant: gpl 7.1
2929
quickbuild: ''
3030
- target: linuxarm64
3131
variant: gpl
3232
quickbuild: ''
3333
- target: linuxarm64
34-
variant: gpl 7.0
34+
variant: gpl 7.1
3535
quickbuild: ''
3636
steps:
3737
- name: Free Disk-Space

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# FFmpeg Static Auto-Builds
22

33

4-
This repository provides static Windows (x86 and x86_64) and Linux (x86_64, arm64) Builds of [FFmpeg master](https://github.com/FFmpeg/FFmpeg) and [latest release branch](https://github.com/FFmpeg/FFmpeg/tree/release/6.1) **with some patches necessary for smooth integration with [yt-dlp](https://github.com/yt-dlp/yt-dlp)**
4+
This repository provides static Windows (x86 and x86_64) and Linux (x86_64, arm64) Builds of [FFmpeg master](https://github.com/FFmpeg/FFmpeg) and [latest release branch](https://github.com/FFmpeg/FFmpeg/tree/release/7.1) **with some patches necessary for smooth integration with [yt-dlp](https://github.com/yt-dlp/yt-dlp)**
55

66
**Note**: The builds provided are only meant to be used with yt-dlp and any unrelated issues/patches will be rejected
77

Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/libavformat/flv.h b/libavformat/flv.h
2-
index f710963..62297ed 100644
2+
index 1ea88ff..10c3101 100644
33
--- a/libavformat/flv.h
44
+++ b/libavformat/flv.h
5-
@@ -116,6 +116,7 @@ enum {
5+
@@ -117,6 +117,7 @@ enum {
66
FLV_CODECID_H264 = 7,
77
FLV_CODECID_REALH263= 8,
88
FLV_CODECID_MPEG4 = 9,
@@ -11,31 +11,31 @@ index f710963..62297ed 100644
1111

1212
enum {
1313
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
14-
index 22a9b9e..dfbdaa6 100644
14+
index 3173f01..f34886b 100644
1515
--- a/libavformat/flvdec.c
1616
+++ b/libavformat/flvdec.c
17-
@@ -335,6 +335,7 @@ static int flv_same_video_codec(AVCodecParameters *vpar, uint32_t flv_codecid)
17+
@@ -382,6 +382,7 @@ static int flv_same_video_codec(AVCodecParameters *vpar, uint32_t flv_codecid)
1818

1919
switch (flv_codecid) {
2020
case MKBETAG('h', 'v', 'c', '1'):
2121
+ case FLV_CODECID_HEVC:
2222
return vpar->codec_id == AV_CODEC_ID_HEVC;
2323
case MKBETAG('a', 'v', '0', '1'):
2424
return vpar->codec_id == AV_CODEC_ID_AV1;
25-
@@ -367,6 +368,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
25+
@@ -415,6 +416,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
2626

2727
switch (flv_codecid) {
2828
case MKBETAG('h', 'v', 'c', '1'):
2929
+ case FLV_CODECID_HEVC:
3030
par->codec_id = AV_CODEC_ID_HEVC;
3131
vstreami->need_parsing = AVSTREAM_PARSE_HEADERS;
3232
break;
33-
@@ -1463,7 +1465,7 @@ retry_duration:
34-
}
33+
@@ -1655,7 +1657,7 @@ retry_duration:
3534

36-
if (st->codecpar->codec_id == AV_CODEC_ID_H264 || st->codecpar->codec_id == AV_CODEC_ID_MPEG4 ||
37-
- (st->codecpar->codec_id == AV_CODEC_ID_HEVC && type == PacketTypeCodedFrames)) {
38-
+ (st->codecpar->codec_id == AV_CODEC_ID_HEVC && (!enhanced_flv || type == PacketTypeCodedFrames))) {
39-
// sign extension
40-
int32_t cts = (avio_rb24(s->pb) + 0xff800000) ^ 0xff800000;
41-
pts = av_sat_add64(dts, cts);
35+
if (st->codecpar->codec_id == AV_CODEC_ID_MPEG4 ||
36+
(st->codecpar->codec_id == AV_CODEC_ID_H264 && (!enhanced_flv || type == PacketTypeCodedFrames)) ||
37+
- (st->codecpar->codec_id == AV_CODEC_ID_HEVC && type == PacketTypeCodedFrames)) {
38+
+ (st->codecpar->codec_id == AV_CODEC_ID_HEVC && (!enhanced_flv || type == PacketTypeCodedFrames))) {
39+
// sign extension
40+
int32_t cts = (avio_rb24(s->pb) + 0xff800000) ^ 0xff800000;
41+
pts = av_sat_add64(dts, cts);

0 commit comments

Comments
 (0)