Fix crash if the first frame is forced to a non-keyframe
authorAnton Mitrofanov <BugMaster@narod.ru>
Tue, 8 Jan 2013 21:29:49 +0000 (13:29 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 8 Jan 2013 21:30:50 +0000 (13:30 -0800)
commit8eddd52b6d5d638709c5c8278c420eac68a8dde1
treead47c108fa765810378ab13514923d0bfd61a128
parent05c1646333f567aa3de5f7669693b15ee667825d
Fix crash if the first frame is forced to a non-keyframe
This is obviously bad user input, but x264 shouldn't crash if it happens.
encoder/slicetype.c