The assert should be:
OSCL_ASSERT((iStride >= iParamPort.format.video.nFrameWidth) &&
(iSliceHeight >= iParamPort.format.video.nFrameHeight));
instead of
OSCL_ASSERT((iStride < iParamPort.format.video.nFrameWidth) ||
(iSliceHeight < iParamPort.format.video.nFrameHeight));


-Ravi

On Apr 23, 5:15 pm, iod <[email protected]> wrote:
> Hi Community,
> For backward compatibility reasons I have to work with the version of
> opencore that is in Eclair; downloadable using the commands:
>
> repo init -u git://android.git.kernel.org/platform/manifest.git -b
> eclair
> repo sync
>
> But when I try to compile opencore's regression test
> pvplayer_engine_test, I get several minor compiler errors. Most of
> them are LOG related, so they seem unharmful to quick-fix. So I have
> fixed them very un-intrusively. But when I ran the first test
> make run_pe_test TEST_ARGS="-test 1 1"
> I got teh following assertion triggered:
>
> Assertion failure for: (iStride < iParamPort.format.video.nFrameWidth)
> || (iSliceHeight < iParamPort.format.video.nFrameHeight), at /proj/
> android/orig/GOOGLE_ECLAIR_OPENCORE/nodes/pvomxvideodecnode/src/
> pvmf_omx_videodec_node.cpp:777
> PVLOG:TID(0xf79108e0):Time=62:Assertion failure for: (iStride <
> iParamPort.format.video.nFrameWidth) || (iSliceHeight <
> iParamPort.format.video.nFrameHeight), at /proj/android/orig/
> GOOGLE_ECLAIR_OPENCORE/nodes/pvomxvideodecnode/src/
> pvmf_omx_videodec_node.cpp:777
> run11: line 13:  6567 Segmentation fault      ${DEBUGGER} ${BASE_DIR}/
> build_config/opencore_dynamic/build/bin/linux/pvplayer_engine_test -
> test 1 1 -logall
>
> 1. Is this a known problem?
> 2. Is there a specific version of eclair where this problem is fixed?
>
> Thank you for any hint
> --
> iod
>
> --
> unsubscribe: [email protected]
> website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to