diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-03 19:04:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-03 19:06:14 +0300 |
commit | 4b3f1b7540c43999b94c5147eabd6b0b7a6693f8 (patch) | |
tree | fd13920bc783d6f2157b56d6cf4217b262aa9768 /source/blender/blenkernel/intern/writeffmpeg.c | |
parent | f7e220edbd7c0b7cb61f0d0cd6e430f671fb2df1 (diff) |
Cleanup: remove rarely used IDProp iterator
Diffstat (limited to 'source/blender/blenkernel/intern/writeffmpeg.c')
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index 739db7b7bdb..1fe5d345621 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -484,7 +484,6 @@ static void set_ffmpeg_properties(RenderData *rd, AVCodecContext *c, const char AVDictionary **dictionary) { IDProperty *prop; - void *iter; IDProperty *curr; /* TODO(sergey): This is actually rather stupid, because changing @@ -509,9 +508,7 @@ static void set_ffmpeg_properties(RenderData *rd, AVCodecContext *c, const char return; } - iter = IDP_GetGroupIterator(prop); - - while ((curr = IDP_GroupIterNext(iter)) != NULL) { + for (curr = prop->data.group.first; curr; curr = curr->next) { if (ffmpeg_proprty_valid(c, prop_name, curr)) set_ffmpeg_property_option(c, curr, dictionary); } |