Use av_printf_format to check the usage of printf style functions
authorMartin Storsjö <martin@martin.st>
Fri, 17 Jun 2011 07:31:11 +0000 (10:31 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 23 Jun 2011 17:17:46 +0000 (20:17 +0300)
commit9abbe8cc136e7fbc69004df3f1de9d54c40d969d
treeeaa9dcee4f92e3a4cfb0911d4cd1eb6a0ae92813
parent67e9ae14d93aeee019bf65d38192ca5c75dc99dd
Use av_printf_format to check the usage of printf style functions

This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/avcodec.h
libavformat/avio.h
libavformat/internal.h
libavformat/rtpproto.c
libavutil/avstring.h
libavutil/log.h