libopenshot
libopenshot copied to clipboard
WIP: fix crashes with video widths not multiple of 4
- 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
Merge conflicts have been detected on this PR, please resolve.
Codecov Report
Merging #577 (08f8497) into develop (dd2735e) will not change coverage. The diff coverage is
75.00%.
@@ 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 dataPowered by Codecov. Last update dd2735e...08f8497. Read the comment docs.
Merge conflicts have been detected on this PR, please resolve.