[FFmpeg-devel] [PATCH 1/3] avutil/dict: add av_dict_pop

Stefano Sabatini stefasab at gmail.com
Mon Jun 5 11:08:07 EEST 2023


Il dom 4 giu 2023, 16:34 Marvin Scholz <epirat07 at gmail.com> ha scritto:

> On 4 Jun 2023, at 16:25, Stefano Sabatini wrote:
> [...]
> > About your patch, please mention that the pop operation is
> > destructive. We probably want to make that behavior configurable
> > through flags, but I'm fine to keep the current behavior for
> > consistency with the set(NULL) operation.
>
> What do you mean by "destructive"?
>

 I mean that the dictionary structure will be freed when the last element
is popped.


More information about the ffmpeg-devel mailing list