On Mon, Feb 15, 2021 at 3:45 AM Andreas Rheinhardt < [email protected]> wrote:
> Nuo Mi: > > From: Mark Thompson <[email protected]> > > > > > > -} > > +static int cbs_h2645_replace_ps(CodedBitstreamContext *ctx, > > + CodedBitstreamUnit *unit) > > +{ > > + typedef struct { > > + int nal_unit_type; > > + int max_count; > > + const char *name; > > If this were a char name[4], these structs could be put in .rodata > instead of .data (or .data.rel.ro) when using position-independent code. > thanks for the suggestion. What's the benifite for this? thanks > > > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
