[FFmpeg-devel] Reduce the size of AVRtpPayloadTypes

Måns Rullgård mans
Thu Mar 27 12:34:59 CET 2008

Luca Abeni wrote:

> Since I am touching such table, I also changed "const char enc_name[50];"
> to "const char *enc_name;" (I believe this change is ok, and it removes
> the arbitrary "50" size). I'll commit this change separately.

This changes the type from array to pointer.  This will change the result
of sizeof, but should otherwise be safe.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list