mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
![]() setExif: would create a CFDictionary using NULL for keyCallBacks and valueCallBacks. This has the effect of comparing the keys of the dictionary by pointer instead of by value. With ld64, this works because it always dedupes identical constant CFSTR("foo") literal, but lld currently doesn't do this. Using kCFTypeDictionaryKeyCallBacks and kCFTypeDictionaryValueCallBacks fixes the problem with lld and is "more correct" in general: Now the dictionary would work with computed CFStrings too, it shows up better in CFShow() output, etc. While here, also fix a memory leak in setExif:. Bug: chromium:1251763 Change-Id: I43c96d2189a4a77fe3bd0dfb3e33623925b0f900 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232760 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#35067} |
||
---|---|---|
.. | ||
android | ||
objc | ||
BUILD.gn | ||
media_constraints.cc | ||
media_constraints.h | ||
media_constraints_unittest.cc | ||
OWNERS |