libopenshot icon indicating copy to clipboard operation
libopenshot copied to clipboard

WIP: fix crashes with video widths not multiple of 4

Open ckirmse opened this issue 6 years ago • 3 comments

  • need to align 32 everywhere for sws_scale to not crash
  • older ffmpegs don't have a nice function (thanks for telling me about it @ferdnyc , I didn't know about av_cpu_max_align), so 32 hard-coded in a few places
  • needed to tell QImage about the change too.
  • fixes issue #576

ckirmse avatar Oct 13 '20 18:10 ckirmse

Merge conflicts have been detected on this PR, please resolve.

github-actions[bot] avatar Nov 19 '20 13:11 github-actions[bot]

Codecov Report

Merging #577 (08f8497) into develop (dd2735e) will not change coverage. The diff coverage is 75.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #577   +/-   ##
========================================
  Coverage    51.86%   51.86%           
========================================
  Files          151      151           
  Lines        12334    12334           
========================================
  Hits          6397     6397           
  Misses        5937     5937           
Impacted Files Coverage Δ
src/FFmpegUtilities.h 100.00% <ø> (ø)
src/Frame.h 100.00% <ø> (ø)
src/FFmpegReader.cpp 69.06% <66.66%> (ø)
src/Frame.cpp 46.78% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dd2735e...08f8497. Read the comment docs.

codecov[bot] avatar Feb 18 '21 12:02 codecov[bot]

Merge conflicts have been detected on this PR, please resolve.

github-actions[bot] avatar Feb 25 '21 21:02 github-actions[bot]