PrepareAVWorkflowOperationHandler.findAudioTrack() will NPE if Track not specified

Steps to reproduce

PrepareAVWorkflowOperationHandler.findAudioTrack() will throw a null pointer if videoTrack or mediaPackage are passed in as null references on these two lines:

MediaPackageElementFlavor flavor = new MediaPackageElementFlavor("*", videoTrack.getFlavor().getSubtype());

for (Track t : mediaPackage.getTracks(flavor)) {

Status

Assignee

Tobias Schiebeck

Reporter

Christopher Brooks

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Affects versions

Priority

Major
Configure