libmix: check if new width/height equel to 0 when resolution change happens

BZ: 29395

If new width or height equel to 0, we don't treat it as resolution change, as there
may some issues happen, we try to use old resolution to continue decode

Change-Id: I9460f1350f0851c2b4e018b80ea7763f62fe4192
Signed-off-by: Weian Chen <>
Reviewed-by: Qiu, Junhai <>
Reviewed-by: Ding, Haitao <>
Tested-by: Ding, Haitao <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
3 files changed