avformat/segafilm - fix keyframe detection and set packet flags
authorGyan Doshi <gyandoshi@gmail.com>
Wed, 21 Mar 2018 13:29:33 +0000 (18:59 +0530)
committerJames Almer <jamrial@gmail.com>
Mon, 26 Mar 2018 19:03:13 +0000 (16:03 -0300)
commitcfe1a9d311de6c36641cf295004cdbc77d7b600c
tree2fdd4181333a9320274c3a655bedc894eb84afb3
parent3c245707bd48291af544683bc875e531dd83d5d1
avformat/segafilm - fix keyframe detection and set packet flags

Streams from a Segafilm cpk file can't be streamcopied because
keyframe flag isn't correctly set in stream index and
said flag is never conveyed to the packet

Fixes #7091

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/segafilm.c