[PR #7941] [MERGED] Fix the int overflow issue and the wrong map index of external audio #11394

Closed
opened 2025-12-22 08:43:30 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/7941
Author: @nyanmisaka
Created: 6/15/2022
Status: Merged
Merged: 6/15/2022
Merged by: @crobibero

Base: release-10.8.zHead: fix-overflow


📝 Commits (2)

  • 255f5a6 Fix the int overflow issue in encoder bufsize
  • c7c0cda Fix the map index of externel audio

📊 Changes

2 files changed (+8 additions, -4 deletions)

View changed files

📝 Jellyfin.Api/Helpers/DynamicHlsHelper.cs (+1 -1)
📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+7 -3)

📄 Description

Changes

  • Fix the int overflow issue in encoder bufsize,
    cap the max target bitrate to int.MaxValue/2 = 1073741823, which is more than enough for any common videos.
  • Fix the map index of external audio

Issues
Fixes https://github.com/jellyfin/jellyfin-plugin-tvheadend/issues/59
FIxes https://github.com/jellyfin/jellyfin/issues/7942


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/7941 **Author:** [@nyanmisaka](https://github.com/nyanmisaka) **Created:** 6/15/2022 **Status:** ✅ Merged **Merged:** 6/15/2022 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.8.z` ← **Head:** `fix-overflow` --- ### 📝 Commits (2) - [`255f5a6`](https://github.com/jellyfin/jellyfin/commit/255f5a6707be9c7c4a7124b50c4083b4a5a92899) Fix the int overflow issue in encoder bufsize - [`c7c0cda`](https://github.com/jellyfin/jellyfin/commit/c7c0cdad9569431604a24a2b987509e66ae479aa) Fix the map index of externel audio ### 📊 Changes **2 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Helpers/DynamicHlsHelper.cs` (+1 -1) 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+7 -3) </details> ### 📄 Description **Changes** - Fix the int overflow issue in encoder bufsize, cap the max target bitrate to int.MaxValue/2 = 1073741823, which is more than enough for any common videos. - Fix the map index of external audio **Issues** Fixes https://github.com/jellyfin/jellyfin-plugin-tvheadend/issues/59 FIxes https://github.com/jellyfin/jellyfin/issues/7942 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:43:30 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#11394
No description provided.