Revision 4d012eb5 libavformat/xwma.c

View differences:

libavformat/xwma.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include <inttypes.h>
23

  
22 24
#include "avformat.h"
23 25
#include "riff.h"
24 26

  
......
144 146

  
145 147
            /* Compute the number of entries in the dpds chunk. */
146 148
            if (size & 3) {  /* Size should be divisible by four */
147
                av_log(s, AV_LOG_WARNING, "dpds chunk size "PRId64" not divisible by 4\n", size);
149
                av_log(s, AV_LOG_WARNING,
150
                       "dpds chunk size %"PRId64" not divisible by 4\n", size);
148 151
            }
149 152
            dpds_table_size = size / 4;
150 153
            if (dpds_table_size == 0 || dpds_table_size >= INT_MAX / 4) {
151
                av_log(s, AV_LOG_ERROR, "dpds chunk size "PRId64" invalid\n", size);
154
                av_log(s, AV_LOG_ERROR,
155
                       "dpds chunk size %"PRId64" invalid\n", size);
152 156
                return -1;
153 157
            }
154 158

  

Also available in: Unified diff