amcvideodec: guard against not finding a valid frame in loop
authorMatthew Waters <matthew@centricular.com>
Fri, 29 Jan 2016 12:28:59 +0000 (23:28 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 29 Jan 2016 12:52:15 +0000 (23:52 +1100)
commitb276de78275b61481384b1edc532a7ebe69079f5
tree7e01683608d8561f7dc89b6dfc17bb5e868bb501
parent1fceac8122293bc33778efc5419f639f8135a02f
amcvideodec: guard against not finding a valid frame in loop

Fixes sporadic crashes on finishing decoding a video.

https://bugzilla.gnome.org/show_bug.cgi?id=761014
sys/androidmedia/gstamcvideodec.c