From 51d53cd993043d9286e12cba884e6ee4d10b5fac Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Fri, 31 Jan 2014 09:38:33 -0800 Subject: Change Format_Invalid from enum to global const This is in preparation for changing the typedef to a struct Change-Id: I36d1fe81d2f974224750f753453753303c224591 --- media/libnbaio/NBAIO.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'media/libnbaio/NBAIO.cpp') diff --git a/media/libnbaio/NBAIO.cpp b/media/libnbaio/NBAIO.cpp index 290604e..8a8155d 100644 --- a/media/libnbaio/NBAIO.cpp +++ b/media/libnbaio/NBAIO.cpp @@ -33,6 +33,8 @@ size_t Format_frameBitShift(const NBAIO_Format& format) return Format_channelCount(format); } +const NBAIO_Format Format_Invalid = { 0 }; + enum { Format_SR_8000, Format_SR_11025, -- cgit v1.1