Skip to content
Snippets Groups Projects

demux: mp4: enforce string formatting consistency in MP4_BoxGet/MP4_BoxCount

Merged Steve Lhomme requested to merge robUx4/vlc:mp4-fmt into master

Moving the string formatting in the .h helped find the issues fixed here. However it forces to use %s where the call doesn't use a string literal.


v2: only use MP4_BoxGetVa() in the rare cases a vararg is needed. Otherwise we avoid a string parsing+allocation. MP4_BoxCountVa() is added but never used, in case it's needed someday.

Edited by Steve Lhomme

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading