Skip to content

Commit cf2d0ba

Browse files
author
Justin Kyryliuk
committedSep 20, 2024·
Explicitly Check For Not Nil
1 parent 086f2b6 commit cf2d0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/ffmpeg/movie.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def initialize(paths, analyzeduration = 15000000, probesize=15000000 )
109109
else
110110
nil
111111
end
112-
break if @rotation
112+
break if @rotation.present?
113113
end if video_stream.key?(:side_data_list)
114114
end
115115

0 commit comments

Comments
 (0)
Please sign in to comment.