avidec: Mark first frame as keyframe in case there are no keyframes.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Jan 2012 22:52:45 +0000 (23:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Jul 2012 16:44:46 +0000 (18:44 +0200)
commit83d6ad3616cac9ecfe23d83822b2e9d10a8c985d
tree21dd7c9563687f26fdce9efeeffd99ec10241305
parente03cd1049ed916ee3c01b2f545a1175d48ac9101
avidec: Mark first frame as keyframe in case there are no keyframes.

This fixes seeking in filecopy.avi of Ticket504

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avidec.c