Skip to content

Commit

Permalink
mythavformatwriter.cpp: #if FF_API_CODER_TYPE
Browse files Browse the repository at this point in the history
This code was removed between FFmpeg 4.4 and 5.1.
  • Loading branch information
ulmus-scott authored and bennettpeter committed Aug 25, 2022
1 parent 2aca744 commit 4e54aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/io/mythavformatwriter.cpp
Expand Up @@ -472,8 +472,10 @@ AVStream* MythAVFormatWriter::AddVideoStream(void)
}

// AVCodecContext AVOptions:
#if FF_API_CODER_TYPE
// c->coder_type = 0;
av_opt_set_int(context, "coder", FF_CODER_TYPE_VLC, 0);
#endif
context->max_b_frames = 0;
context->slices = 8;
context->flags |= AV_CODEC_FLAG_LOOP_FILTER;
Expand Down

0 comments on commit 4e54aee

Please sign in to comment.