Re: [FFmpeg-devel] [PATCH 1/2] avutil/dict: Add av_dict_iterate

2022-09-22 Thread Andreas Rheinhardt
Marvin Scholz: > > > On 22 Sep 2022, at 13:33, Andreas Rheinhardt wrote: > >> Marvin Scholz: >>> This is a more explicit iteration API rather than using the "magic" >>> av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX) which is not really >>> trivial to grasp what it does when casually reading throug

Re: [FFmpeg-devel] [PATCH 1/2] avutil/dict: Add av_dict_iterate

2022-09-22 Thread Marvin Scholz
On 22 Sep 2022, at 13:33, Andreas Rheinhardt wrote: > Marvin Scholz: >> This is a more explicit iteration API rather than using the "magic" >> av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX) which is not really >> trivial to grasp what it does when casually reading through code. >> --- >> libavuti

Re: [FFmpeg-devel] [PATCH 1/2] avutil/dict: Add av_dict_iterate

2022-09-22 Thread Andreas Rheinhardt
Marvin Scholz: > This is a more explicit iteration API rather than using the "magic" > av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX) which is not really > trivial to grasp what it does when casually reading through code. > --- > libavutil/dict.c| 19 +++ > libavutil/dict.h|

[FFmpeg-devel] [PATCH 1/2] avutil/dict: Add av_dict_iterate

2022-09-21 Thread Marvin Scholz
This is a more explicit iteration API rather than using the "magic" av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX) which is not really trivial to grasp what it does when casually reading through code. --- libavutil/dict.c| 19 +++ libavutil/dict.h| 27