(Sorry, I'm still not subscribed to the mailing list, so please CC: me.) Thank you all for the feedback. I'll split out the patch as suggested by Clément. Regarding my changes to av_dict_set() -- the current code does not free memory in some of the error paths. Should that be fixed? Thanks, -Adrian