Skip to content

Commit

Permalink
Update recipes/ffmpeg/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Mc <[email protected]>
  • Loading branch information
MartinDelille and prince-chrismc authored Feb 17, 2023
1 parent 54e8ec7 commit 5eb8f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/ffmpeg/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def _target_os(self):
return target_os

def _patch_sources(self):
if self._is_msvc and self.options.with_libx264 and not self.options["libx264"].shared and tools.Version(self.version) <= "5.0":
if self._is_msvc and self.options.with_libx264 and not self.options["libx264"].shared and Version(self.version) <= "5.0":
# suppress MSVC linker warnings: https://trac.ffmpeg.org/ticket/7396
# warning LNK4049: locally defined symbol x264_levels imported
# warning LNK4049: locally defined symbol x264_bit_depth imported
Expand Down

0 comments on commit 5eb8f44

Please sign in to comment.