justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Could you discuss the recommended course of action regarding WDL_ASSERT(!buf[id3_pos]); (tag.h:554)?
Asked by Gio (94.70.4.x) on December 16 2021, 3:15am
Reply on December 16 2021, 3:47am:
    Find out who wrote the tag and tell them it's not to spec? or comment it out if it bothers you :)


Comments:
  • Posted by Gio (94.70.4.x) on December 16 2021, 10:12am:
    No, it doesn't bother me. I just wanted to make a judgement call after I hear your input.

  • Posted by schwa (67.245.193.x) on December 17 2021, 12:57pm:
    Probably the safest thing to do would be to log the tags that the code parses for that particular input file and compare them carefully to the input file, to make sure the assert is catching bad input rather than bad parsing.

  • Posted by Gio (94.70.4.x) on December 17 2021, 6:24pm:
    Hmm, I didn't thought about that. I keep the info as good advice, thank you schwa.

  • Posted by Justin on December 17 2021, 10:19pm:
    schwa's advice is better than mine :)


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS