webrtc/sdk/objc/api
Dillon Cower 5963fddac2 Pass-by-reference instead of value to initWithNativeEncodedImage
Previously, the use of pass-by-value caused an issue in
ObjCVideoDecoder::Decode, where the EncodedImage was being copied upon
calling initWithNativeEncodedImage, which then created an NSData using
the copy's pointer; then the copy was destroyed, invalidating that
pointer.

Bug: webrtc:9378
Change-Id: Iac28b890c9902108ffc5ec54a607a99034159153
Reviewed-on: https://webrtc-review.googlesource.com/c/121922
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26598}
2019-02-08 08:56:23 +00:00
..
logging (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
peerconnection Pass-by-reference instead of value to initWithNativeEncodedImage 2019-02-08 08:56:23 +00:00
video_codec (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_frame_buffer Rename RTC_EXPORT to RTC_OBJC_EXPORT. 2018-09-17 10:06:57 +00:00
RTCVideoRendererAdapter+Private.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
RTCVideoRendererAdapter.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCVideoRendererAdapter.mm Include i420 buffers in Obj-C framework again. 2018-09-03 15:06:18 +00:00