|
|
@@ -70,7 +70,7 @@ static int film_write_packet_to_header(AVFormatContext *format_context, FILMPack |
|
|
info2 = pkt->duration; |
|
|
info2 = pkt->duration; |
|
|
/* The top bit being set indicates a key frame */ |
|
|
/* The top bit being set indicates a key frame */ |
|
|
if (!pkt->keyframe) |
|
|
if (!pkt->keyframe) |
|
|
info1 |= (1 << 31); |
|
|
|
|
|
|
|
|
info1 |= 1U << 31; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* Write the 16-byte sample info packet to the STAB chunk in the header */ |
|
|
/* Write the 16-byte sample info packet to the STAB chunk in the header */ |
|
|
|