lavf/mxfdec: validate month/day before date formatting
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 13 Apr 2013 13:45:57 +0000 (15:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Apr 2013 16:07:08 +0000 (18:07 +0200)
commit423089e964410adbf13af3de42e3c9dd5a1babd6
treeb569c9311cd445f1549d9abf767937d37d3dbdd8
parentc8b364449424f09397a3be46b8215ed92284e393
lavf/mxfdec: validate month/day before date formatting

Some implementations of strftime do not like invalid values for
month/day, so ensure it doesn't happen.

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c