Message ID | 20200921111659.85445-2-harry.mallon@codex.online |
---|---|
State | Accepted |
Commit | e16788a32398e5199d61e79c8784f4523eadc001 |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec/videotoolboxenc: Set profile (main/main10) on HEVC encode | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 212f41b19a..fe0c98300b 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -789,7 +789,6 @@ static int get_cv_pixel_format(AVCodecContext* avctx, *av_pixel_format = range == AVCOL_RANGE_JPEG ? kCVPixelFormatType_420YpCbCr10BiPlanarFullRange : kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange; - *av_pixel_format = kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange; } else { return AVERROR(EINVAL); }
Signed-off-by: Harry Mallon <harry.mallon@codex.online> --- libavcodec/videotoolboxenc.c | 1 - 1 file changed, 1 deletion(-)