Loading media/libstagefright/MPEG4Extractor.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -3914,7 +3914,8 @@ status_t MPEG4Source::parseChunk(off64_t *offset) { while (true) { while (true) { if (mDataSource->readAt(*offset, hdr, 8) < 8) { if (mDataSource->readAt(*offset, hdr, 8) < 8) { return ERROR_END_OF_STREAM; // no more box to the end of file. break; } } chunk_size = ntohl(hdr[0]); chunk_size = ntohl(hdr[0]); chunk_type = ntohl(hdr[1]); chunk_type = ntohl(hdr[1]); Loading Loading
media/libstagefright/MPEG4Extractor.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -3914,7 +3914,8 @@ status_t MPEG4Source::parseChunk(off64_t *offset) { while (true) { while (true) { if (mDataSource->readAt(*offset, hdr, 8) < 8) { if (mDataSource->readAt(*offset, hdr, 8) < 8) { return ERROR_END_OF_STREAM; // no more box to the end of file. break; } } chunk_size = ntohl(hdr[0]); chunk_size = ntohl(hdr[0]); chunk_type = ntohl(hdr[1]); chunk_type = ntohl(hdr[1]); Loading