Skip to content

Commit 5a06e7e

Browse files
committed
bluray_seek return value must use int64_t
1 parent ddbee4d commit 5a06e7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

patches/ffmpeg-release-5.1/0018-bluray-open-and-find-the-right-m2ts-then-read-seek-i.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
From a78737dbf420343099b8151d6a23262e98fbddef Mon Sep 17 00:00:00 2001
1+
From 690495b9eab397ad2a3441974d903ae2e3aa425c Mon Sep 17 00:00:00 2001
22
From: qianlongxu <[email protected]>
3-
Date: Wed, 29 May 2024 11:43:03 +0800
4-
Subject: [PATCH 18] bluray open and find the right m2ts, then read\seek it
3+
Date: Wed, 29 May 2024 15:27:51 +0800
4+
Subject: [PATCH 18] bluray open and find the right m2ts, then read\seek it
55
direactly instread of bluray logic.
66

77
---
88
libavformat/bluray.c | 112 ++++++++++++++++++++++++++++++++++++++++---
99
1 file changed, 106 insertions(+), 6 deletions(-)
1010

1111
diff --git a/libavformat/bluray.c b/libavformat/bluray.c
12-
index 635c4f1..a7bcd90 100644
12+
index 635c4f1..338aec2 100644
1313
--- a/libavformat/bluray.c
1414
+++ b/libavformat/bluray.c
1515
@@ -20,12 +20,18 @@
@@ -111,7 +111,7 @@ index 635c4f1..a7bcd90 100644
111111
- return bd_seek(bd->bd, pos);
112112
-
113113
+ if (bd->stream_opened) {
114-
+ return (int)bd_file_seek(bd->bd, pos, whence);
114+
+ return bd_file_seek(bd->bd, pos, whence);
115115
+ } else {
116116
+ return bd_seek(bd->bd, pos);
117117
+ }

0 commit comments

Comments
 (0)