Skip to content

Commit

Permalink
video_codec -> video_codec_ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
eisneinechse committed Sep 13, 2020
1 parent 36c32f3 commit 47fca02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFmpegWriter.cpp
Expand Up @@ -339,7 +339,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
if (info.has_video && stream == VIDEO_STREAM && video_st) {
st = video_st;
// Get codec context
c = AV_GET_CODEC_PAR_CONTEXT(st, video_codec);
c = AV_GET_CODEC_PAR_CONTEXT(st, video_codec_ctx);
// Was a codec / stream found?
if (c) {
if (info.interlaced_frame) {
Expand Down

0 comments on commit 47fca02

Please sign in to comment.