Skip to content

Commit

Permalink
Linuxビルドを修正 (その2)。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Oct 18, 2023
1 parent 0cb3fe6 commit 674e7f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions NVEncCore/rgy_avutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ void av_frame_deep_copy(AVFrame *copyFrame, const AVFrame *frame) {
copyFrame->width = frame->width;
copyFrame->height = frame->height;
copyFrame->sample_rate = frame->sample_rate;
copyFrame->duration = frame->duration;
copyFrame->pts = frame->pts;
#if AV_CHANNEL_LAYOUT_STRUCT_AVAIL
av_channel_layout_copy(&copyFrame->ch_layout, &frame->ch_layout);
Expand Down Expand Up @@ -582,7 +581,7 @@ RGYChannel getChannelLayoutChannelFromIndex(const RGYChannelLayout *ch_layout, c
#if AV_CHANNEL_LAYOUT_STRUCT_AVAIL
return av_channel_layout_channel_from_index(ch_layout, index);
#else
return (AVChannel)av_channel_layout_extract_channel(*ch_layout, index);
return (RGYChannel)av_channel_layout_extract_channel(*ch_layout, index);
#endif
}

Expand Down

0 comments on commit 674e7f7

Please sign in to comment.