[Android] Tanuj97:
help needed here while compiling omni

In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp: In member function 'android::status_t android::MPEG4Extractor::parseChunk(off64_t*, int)':
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1927:14: error: jump to case label [-fpermissive]
case FOURCC('c', 'o', 'v', 'r'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1956:14: error: jump to case label [-fpermissive]
case FOURCC('t', 'i', 't', 'l'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1957:14: error: jump to case label [-fpermissive]
case FOURCC('p', 'e', 'r', 'f'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1958:14: error: jump to case label [-fpermissive]
case FOURCC('a', 'u', 't', 'h'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1959:14: error: jump to case label [-fpermissive]
case FOURCC('g', 'n', 'r', 'e'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1960:14: error: jump to case label [-fpermissive]
case FOURCC('a', 'l', 'b', 'm'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1961:14: error: jump to case label [-fpermissive]
case FOURCC('y', 'r', 'r', 'c'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1974:14: error: jump to case label [-fpermissive]
case FOURCC('I', 'D', '3', '2'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1987:14: error: jump to case label [-fpermissive]
case FOURCC('-', '-', '-', '-'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
In file included from frameworks/av/media/libstagefright/include/MPEG4Extractor.h:25:0,
from frameworks/av/media/libstagefright/MPEG4Extractor.cpp:28:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1996:14: error: jump to case label [-fpermissive]
case FOURCC('s', 'i', 'd', 'x'):
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:2003:9: error: jump to case label [-fpermissive]
default:
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:1890:20: error: crosses initialization of 'size_t size'
size_t size = 0;
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:2013:73: error: a function-definition is not allowed here before '{' token
status_t MPEG4Extractor::parseSegmentIndex(off64_t offset, size_t size) {
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:4435:1: error: expected '}' at end of input
} // namespace android
^
frameworks/av/media/libstagefright/MPEG4Extractor.cpp: At global scope:
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:4435:1: error: expected '}' at end of input
frameworks/av/media/libstagefright/MPEG4Extractor.cpp: In member function 'android::status_t android::MPEG4Extractor::parseChunk(off64_t*, int)':
frameworks/av/media/libstagefright/MPEG4Extractor.cpp:4435:1: error: control reaches end of non-void function [-Werror=return-type]
} // namespace android
^
cc1plus: some warnings being treated as errors
make: *** [/home/onexmaster/android/omni/out/target/product/endeavoru/obj/SHARED_LIBRARIES/libstagefright_intermediates/MPEG4Extractor.o] Error 1

[MENTION=698346]teemo[/MENTION]