Skip to content

Commit

Permalink
Put AV1 codec in side of define of format lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
shamamayair committed Nov 21, 2023
1 parent f8bcce7 commit e488daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vod/thumb/thumb_grabber.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static codec_id_mapping_t codec_mappings[] = {
{ VOD_CODEC_ID_HEVC, AV_CODEC_ID_H265, "h265" },
{ VOD_CODEC_ID_VP8, AV_CODEC_ID_VP8, "vp8" },
{ VOD_CODEC_ID_VP9, AV_CODEC_ID_VP9, "vp9" },
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(60, 16, 100)
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(60, 16, 100)
{ VOD_CODEC_ID_AV1, AV_CODEC_ID_AV1, "av1" },
#endif
};
Expand Down

0 comments on commit e488daa

Please sign in to comment.