~ubuntu-branches/debian/experimental/libav/experimental

« back to all changes in this revision

Viewing changes to libavformat/iff.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-08-10 09:45:02 UTC
  • mfrom: (1.3.14)
  • mto: (1.3.16)
  • mto: This revision was merged to the branch mainline in revision 41.
  • Revision ID: package-import@ubuntu.com-20140810094502-mmdupdml8tixclg2
Tags: upstream-11~alpha1
ImportĀ upstreamĀ versionĀ 11~alpha1

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 * http://wiki.multimedia.cx/index.php?title=IFF
30
30
 */
31
31
 
 
32
#include <inttypes.h>
 
33
 
32
34
#include "libavutil/channel_layout.h"
33
35
#include "libavutil/intreadwrite.h"
34
36
#include "libavutil/dict.h"
167
169
 
168
170
        case ID_CMAP:
169
171
            if (data_size < 3 || data_size > 768 || data_size % 3) {
170
 
                 av_log(s, AV_LOG_ERROR, "Invalid CMAP chunk size %d\n",
 
172
                 av_log(s, AV_LOG_ERROR, "Invalid CMAP chunk size %"PRIu32"\n",
171
173
                        data_size);
172
174
                 return AVERROR_INVALIDDATA;
173
175
            }