Skip to content

Commit 77576ff

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "stagefright amrwbenc: Remove a useless check"
2 parents be9a705 + 30b0bb4 commit 77576ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libstagefright/codecs/amrwbenc/src/voAMRWBEnc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ VO_U32 VO_API voAMRWB_SetInputData(
17021702
gData = (Coder_State *)hCodec;
17031703
stream = gData->stream;
17041704

1705-
if(NULL == pInput || NULL == pInput->Buffer || 0 > pInput->Length)
1705+
if(NULL == pInput || NULL == pInput->Buffer)
17061706
{
17071707
return VO_ERR_INVALID_ARG;
17081708
}

0 commit comments

Comments
 (0)