[M108 Migration][MM] Ignore buffers if callback is null 62/288262/5
authorVenugopal S M <sm.venugopal@samsung.com>
Thu, 2 Jun 2022 17:27:51 +0000 (22:57 +0530)
committerBot Blink <blinkbot@samsung.com>
Wed, 15 Feb 2023 16:23:01 +0000 (16:23 +0000)
commit23a294e50d4c4fac7f5a288c6778caed73b71248
tree6d999ed673d0bfb87e5b92d51674e4912d159e3d
parenteebfc7f5c6f945a09dfc966e7451aa93f09b8ef6
[M108 Migration][MM] Ignore buffers if callback is null

In "video_onended_event" for no reason, buffers are sent after EOS is
received. The read-calback is null and would crash.

Reference: https://review.tizen.org/gerrit/275840/

Change-Id: Icccfa6c6e35000c7993139077ade2817232051b5
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
media/mojo/services/mojo_demuxer_stream_adapter.cc