Opened 4 years ago

Closed 4 years ago

#5100 closed defect (fixed)

Bad format string in rmdec.c

Reported by: jeremyhu Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: real
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

The following format warning was seen with N-77414-g484cc66:

src/libavformat/rmdec.c:1379:83: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
                av_log(s, AV_LOG_ERROR, "Unsupported opcode=%d at %lX\n", opcode, avio_tell(pb) - 1);
                                                                  ~~~             ^~~~~~~~~~~~~~~~~
                                                                  %llX
1 warning generated.

Change History (1)

comment:1 Changed 4 years ago by cehoyos

  • Keywords real added
  • Priority changed from normal to minor
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

Thank you for the report, should be fixed in b18230ee8c166eddcef8592c3217b4f1c3fc33c9

Note: See TracTickets for help on using tickets.