lavf: Check the return value of strftime
authorMartin Storsjö <martin@martin.st>
Fri, 24 Oct 2014 07:43:20 +0000 (10:43 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 25 Oct 2014 21:14:54 +0000 (00:14 +0300)
commit9dcf2397219ca796f0fafce2a703770d6fd09920
treea7a43f39be7fa2e3cfd09c890a40373f0742f154
parent851ace79a307bea54b44bd6f7ecd3b7861c28ec6
lavf: Check the return value of strftime

If the buffer provided to strftime is too small, the buffer contents
are indeterminate - it does not guarantee actually null terminating
the buffer.

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