[FFmpeg-devel] [PATCH v2 2/5] avutil/dict: Use av_dict_iterate in av_dict_get
Anton Khirnov
anton at khirnov.net
Tue Oct 25 12:46:49 EEST 2022
Quoting Marvin Scholz (2022-09-24 16:36:56)
> ---
> libavutil/dict.c | 16 ++++++----------
> 1 file changed, 6 insertions(+), 10 deletions(-)
>
> diff --git a/libavutil/dict.c b/libavutil/dict.c
> index ee059d712c..ea03590d0f 100644
> --- a/libavutil/dict.c
> +++ b/libavutil/dict.c
> @@ -60,18 +60,14 @@ const AVDictionaryEntry *av_dict_iterate(const AVDictionary *m,
> AVDictionaryEntry *av_dict_get(const AVDictionary *m, const char *key,
> const AVDictionaryEntry *prev, int flags)
> {
> - unsigned int i, j;
> + const AVDictionaryEntry *entry = prev;
Broken indentation, otherwise looks good.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list