Menu

#7 Descriptor::get_total_dimension() is really needed?

open-fixed
9
2007-11-16
2007-11-15
No

Seems to me that we can avoid (and deprecate) the member function Descriptor::get_total_dimension(): when we need the size of a Descriptor we can serialize() it and then get its lenght.
Motivations:
1) possible size inconsistency when modifying the header
2) possible size inconsistency when adding several codec_parameters

Discussion

  • Livio Pipitone

    Livio Pipitone - 2007-11-16
    • status: open --> open-fixed
     
  • Livio Pipitone

    Livio Pipitone - 2007-11-16

    Logged In: YES
    user_id=1903626
    Originator: NO

    Code corrected: now the descriptor total dimension variable is non necessary and, then, not implemented.

     

Log in to post a comment.