diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-03 15:02:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-20 18:21:39 +0200 |
commit | 4e254ec6be86977d9ea173f1769398f153bd1d28 (patch) | |
tree | a15b5217581e67d9096a979b8667bcffb55318e2 /libavformat/sdp.c | |
parent | 87b056e6af0ccebc6813c54c88b5eb78ac06faf2 (diff) | |
download | ffmpeg-4e254ec6be86977d9ea173f1769398f153bd1d28.tar.gz |
avformat/rtsp: Put strings instead of pointers to strings into array
In this example, the difference in length between the shortest and
longest string is three, so that not using pointers to strings saves
space even on 32bit systems.
Moreover, there is no need to use a sentinel here; it can be replaced
with FF_ARRAY_ELEMS.
Reviewed-by: Ross Nicholson <phunkyfish@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/sdp.c')
0 files changed, 0 insertions, 0 deletions