Can you explain more clear the code ?
If ctx->avc.avcDecodeResult  = 0 or 1 in both case do what ?