]> git.videolan.org Git - x264.git/commit
Workaround for FFMS indexing bug
authorHenrik Gramner <henrik@gramner.com>
Tue, 27 Aug 2013 22:50:31 +0000 (00:50 +0200)
committerJason Garrett-Glaser <jason@x264.com>
Tue, 27 Aug 2013 23:05:38 +0000 (16:05 -0700)
commitdfdb6465dea2990a4531d076ed2644c8ccb0f3a9
tree5d62acc3e9b7a7273fd62b329a39ce1ff0da5a9c
parent9e941d1fabb2de4b15f169057a07dc395307d2ce
Workaround for FFMS indexing bug

If FFMS_ReadIndex is used with an empty index file it gets stuck in an infinite loop instead of returning NULL
like it's supposed to do on failure. Explicitly check if the file is empty before calling it as a workaround.
input/ffms.c