We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5daf5d2 commit 77d0ec6Copy full SHA for 77d0ec6
crates/enc-ffmpeg/src/video/h264.rs
@@ -117,9 +117,7 @@ impl H264EncoderBuilder {
117
format
118
};
119
120
- if is_420(output_format)
121
- && (output_width % 2 != 0 || output_height % 2 != 0)
122
- {
+ if is_420(output_format) && (output_width % 2 != 0 || output_height % 2 != 0) {
123
return Err(H264EncoderError::InvalidOutputDimensions {
124
width: output_width,
125
height: output_height,
0 commit comments