wtv: Check the return value from gmtime
authorMartin Storsjö <martin@martin.st>
Sat, 23 Jun 2012 18:46:26 +0000 (21:46 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 25 Jun 2012 13:20:08 +0000 (16:20 +0300)
commitdc5385806339f90b4eb074d9002205ebb4010cc2
treea087fabe4d184dafe0e6e5da460cbd4b864f431c
parent82992604706144910f4a2f875d48cfc66c1b70d7
wtv: Check the return value from gmtime

On MSVC, gmtime returns NULL for values outside of their supported
range (and these show up in our fate test). This doesn't seem
to affect the actual fate test result.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/wtv.c