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
..
2018-09-17 10:06:57 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-11-14 18:55:50 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-10-25 17:59:48 +00:00
2018-10-25 17:59:48 +00:00
2018-09-17 10:06:57 +00:00
2019-01-25 20:29:58 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-02-08 08:56:23 +00:00
2019-02-08 08:56:23 +00:00
2018-11-27 13:05:43 +00:00
2018-11-27 13:05:43 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2018-09-17 10:06:57 +00:00
2018-09-12 10:46:04 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2018-09-28 07:21:07 +00:00
2018-11-21 13:53:57 +00:00
2019-01-28 09:53:50 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-14 14:56:40 +00:00
2019-01-25 20:29:58 +00:00
2019-01-25 20:29:58 +00:00
2019-01-25 20:29:58 +00:00
2018-10-08 18:11:06 +00:00
2018-11-21 18:52:45 +00:00
2018-11-21 18:52:45 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-02-04 14:21:54 +00:00
2019-02-04 14:21:54 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2018-10-31 12:20:05 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2018-12-12 12:48:15 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-09-17 10:06:57 +00:00
2019-01-11 17:11:39 +00:00