去掉代码注释

This commit is contained in:
ljx0305 2023-03-09 09:06:52 +08:00 committed by GitHub
parent bb78a5ebee
commit 5f24842e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -672,7 +672,6 @@ FFmpegFrame::Ptr FFmpegSws::inputFrame(const FFmpegFrame::Ptr &frame, int &ret,
auto out = std::make_shared<FFmpegFrame>(); auto out = std::make_shared<FFmpegFrame>();
if (!out->get()->data[0]) { if (!out->get()->data[0]) {
if (data) { if (data) {
//avpicture_fill((AVPicture *) out->get(), data, _target_format, target_width, target_height);
av_image_fill_arrays(out->get()->data, out->get()->linesize, data, _target_format, target_width, target_height, 1); av_image_fill_arrays(out->get()->data, out->get()->linesize, data, _target_format, target_width, target_height, 1);
} else { } else {
out->fillPicture(_target_format, target_width, target_height); out->fillPicture(_target_format, target_width, target_height);