lavf: more correct printf format specifiers
This commit is contained in:
+4
-1
@@ -19,6 +19,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avformat.h"
|
||||
#include "internal.h"
|
||||
@@ -190,7 +192,8 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
avio_read(s->pb, buf + 4, DXA_EXTRA_SIZE - 4);
|
||||
size = AV_RB32(buf + 5);
|
||||
if(size > 0xFFFFFF){
|
||||
av_log(s, AV_LOG_ERROR, "Frame size is too big: %d\n", size);
|
||||
av_log(s, AV_LOG_ERROR, "Frame size is too big: %"PRIu32"\n",
|
||||
size);
|
||||
return -1;
|
||||
}
|
||||
if(av_new_packet(pkt, size + DXA_EXTRA_SIZE + pal_size) < 0)
|
||||
|
||||
Reference in New Issue
Block a user