Advertisement
svenhoefer

Untitled

Aug 11th, 2017
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.90 KB | None | 0 0
  1. From c56504f077b098fcd6ae8eac592ecea9a289950d Mon Sep 17 00:00:00 2001
  2. From: Jacek Jendrzej <satbaby@kawaii.com>
  3. Date: Fri, 11 Aug 2017 16:41:04 +0200
  4. Subject: [PATCH] fix if filter not found segfault
  5.  
  6. ---
  7. hd1/fileparser.cpp | 2 ++
  8.  hd2/fileparser.cpp | 2 ++
  9.  2 files changed, 4 insertions(+)
  10.  
  11. diff --git a/hd1/fileparser.cpp b/hd1/fileparser.cpp
  12. index 0424794..f553b56 100644
  13. --- a/hd1/fileparser.cpp
  14. +++ b/hd1/fileparser.cpp
  15. @@ -2686,6 +2686,8 @@ bool cFileParser::ClaimVideoResources(void)
  16.                 bsfc = NULL;
  17.                 return false;
  18.             }
  19. +       }else{
  20. +           return false;
  21.         }
  22.  
  23.  #endif
  24. diff --git a/hd2/fileparser.cpp b/hd2/fileparser.cpp
  25. index 0424794..f553b56 100644
  26. --- a/hd2/fileparser.cpp
  27. +++ b/hd2/fileparser.cpp
  28. @@ -2686,6 +2686,8 @@ bool cFileParser::ClaimVideoResources(void)
  29.                 bsfc = NULL;
  30.                 return false;
  31.             }
  32. +       }else{
  33. +           return false;
  34.         }
  35.  
  36.  #endif
  37. --
  38. 2.7.4.1.g5468f9e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement