Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Put strings instead of pointers to strings into array

2020-04-20 Thread Andreas Rheinhardt
Marton Balint: > > > On Mon, 20 Apr 2020, Andreas Rheinhardt wrote: > >> 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

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Put strings instead of pointers to strings into array

2020-04-20 Thread Ross Nicholson
> On 20 Apr 2020, at 02:42, Andreas Rheinhardt > wrote: > > 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

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Put strings instead of pointers to strings into array

2020-04-20 Thread Marton Balint
On Mon, 20 Apr 2020, Andreas Rheinhardt wrote: 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

[FFmpeg-devel] [PATCH] avformat/rtsp: Put strings instead of pointers to strings into array

2020-04-19 Thread Andreas Rheinhardt
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. Signed-off-by: Andreas Rheinhardt --- I