去掉代码注释
This commit is contained in:
parent
bb78a5ebee
commit
5f24842e7e
|
|
@ -672,7 +672,6 @@ FFmpegFrame::Ptr FFmpegSws::inputFrame(const FFmpegFrame::Ptr &frame, int &ret,
|
|||
auto out = std::make_shared<FFmpegFrame>();
|
||||
if (!out->get()->data[0]) {
|
||||
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);
|
||||
} else {
|
||||
out->fillPicture(_target_format, target_width, target_height);
|
||||
|
|
|
|||
Loading…
Reference in New Issue