-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multimedia/avidemux: Add patch for x265.
Signed-off-by: Willy Sudiarto Raharjo <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff -ru avidemux_2.8.1.orig/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp avidemux_2.8.1/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp | ||
--- avidemux_2.8.1.orig/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp 2024-10-12 10:07:58.005741891 +0200 | ||
+++ avidemux_2.8.1/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265.cpp 2024-10-12 11:12:13.519781376 +0200 | ||
@@ -205,8 +205,8 @@ | ||
// | ||
x265_nal *nal; | ||
uint32_t nbNal = 0; | ||
- x265_picture pic_out; | ||
- api->picture_init(¶m,&pic_out); | ||
+ x265_picture *pic_out; | ||
+ api->picture_init(¶m,pic_out); | ||
out->flags = 0; | ||
|
||
int er; | ||
@@ -236,7 +236,7 @@ | ||
|
||
|
||
// 3-encode | ||
- if(false==postAmble(out,nbNal,nal,&pic_out)) | ||
+ if(false==postAmble(out,nbNal,nal,pic_out)) | ||
{ | ||
ADM_warning("[x265] postAmble failed\n"); | ||
return false; |