summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index ea0cad60d..3f66b83d4 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1014,7 +1014,7 @@ static int decodeFrame( hb_work_object_t *w, packet_info_t * packet_info )
// libav avcodec_decode_video2() needs AVPacket flagged with
// AV_PKT_FLAG_KEY for some codecs. For example, sequence of
// PNG in a mov container.
- if (packet_info->frametype & HB_FRAME_KEY)
+ if (packet_info->frametype & HB_FRAME_MASK_KEY)
{
avp.flags |= AV_PKT_FLAG_KEY;
}