
nalPrefix.readUnsignedIntToInt() will throw if the unsigned output doesn't fit in an int. Before this change, in the error case we'd retry reading from after the NAL prefix position. Throw a ParserException so that reading an obviously invalid NAL prefix will be treated as a fatal exception by the default load error handling policy. PiperOrigin-RevId: 236839690
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.